Usage per project:
curl "https://gist.githubusercontent.com/miry/3db93ae3f76cb56c3689a2bf355ff1ee/raw/post-merge" > .git/hooks/post-merge
curl "https://gist.githubusercontent.com/miry/3db93ae3f76cb56c3689a2bf355ff1ee/raw/pre-commit" > .git/hooks/pre-commit
chmod +x .git/hooks/post-merge
chmod +x .git/hooks/pre-commit