Git-based file diff watcher and permission enforcer