gitwatch

Automatically commit file/folder changes to git repository

brewmacoslinux
Try with needOr install directly
Source

About

Watch a file or folder and automatically commit changes to a git repo easily

Commands

gitwatch

Examples

Watch current directory and auto-commit all changes$ gitwatch .
Watch specific file with custom commit message$ gitwatch -m 'Auto-update' myfile.txt
Watch folder with delay between commits$ gitwatch -d 10 src/