Minimalistic shell script to add hooks to repositories