If you have a remote server and you are using linux, you can simply create a folder in which you rsyncset it as "every 10 seconds", for example, working with a cron.
There was something you could install on linux, which gives you temporary Mac storage or shadow copies of Windows, such as a function. Delete this on the remote server.
, dropbox, , ...
UPDATE
, Git ( , - ), cron, , , .
, Git, - ? .