git-based file synchronization system written in bash