FileWatcher: fix work with git