for source code, you can use something like git or subversion, paired with an ssh connection, using port forwarding.
in all cases, you will need to initiate synchronization yourself, except that you have a tool that monitors the directory you are working on.
source
share