GitWatch
gitwatch.sh [-r <remote> [-b <branch>]] <file or directory to watch>
mkdir -p "$HOME/.config/systemd/user" && cp gitwatch@.service $HOME/.config/systemd/user
systemctl --user --now enable gitwatch@$(systemd-escape "'-r url/to/repository' /path/to/folder").service
Works fairly well, use ssh
and be happy.