Gitwatch: Watch a Git repository for changes
github.com
github.com
https://github.com/ianmiell/alert-on-change/blob/master/READ...
It adds the concept of degree of change to the output triggering an alert.
This one is pretty similar and slightly more readable imo (if shell-scripts can ever be considered readable). Just replace the notify-function with whatever you want to execute instead.
You save a lot of time / bandwidth / space this way.