Here is how I transfer file outside or my git repo from one machine another

Remote -> Local

[code]

rsync -avz [email protected]_IP_ADDRESS:ABS_PATH_TO_MY_UPLOADS/* LOCAL_DESTINATION_PATH

[/code]

Local -> Remote

[code]

rsync -avz LOCAL_DESTINATION_PATH ssh [email protected]_IP_ADDRESS:ABS_PATH_TO_MY_REMOTE_UPLOADS

[/code]