No need for git, syncthing does exactly that (listening to file activity events in selected folders and syncing the change, with twoway sync if so desired) and its free!
No need for git, syncthing does exactly that (listening to file activity events in selected folders and syncing the change, with twoway sync if so desired) and its free!