Two two-line scripts I use, along with fswatch and terminal-notifier, to keep a local directory synced to a dev system.  I've moved .git out of the local directory so that changes in .git don't trigger syncs.