This is a simple script that will rsync down a directory tree from a remote system, via ssh, and then keep the remote copy in sync with the local copy using lsyncd, as you edit it. In each case, the newest version of the file is always kept. It is intended for cases when editing remotely is too uncomfortable, and git pull/push is too manual.
lsyncd uses inotify to watch folders efficiently, for changes, new files,