<a href="https:&#x2F;&#x2F;github.com&#x2F;sickill&#x2F;git-dude" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sickill&#x2F;git-dude</a><p>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.