$ mkdir hooks && curl -L -o hooks/post-checkout -O https://gist.github.com/taurus227/28960de89e6c43bb3d492125368f1224/raw/post-checkout && curl -L -o hooks/post-merge -O https://gist.github.com/taurus227/28960de89e6c43bb3d492125368f1224/raw/post-merge && curl -L -o hooks/post-rewrite -O https://gist.github.com/taurus227/28960de89e6c43bb3d492125368f1224/raw/post-rewrite
...
"scripts": {
"install": "cp ./hooks/* .git/hooks/ && chmod -R a+x .git/hooks/"
},
...
At this point it will work for the whole team as soon as they all run npm install