Follow instructions by https://coderwall.com/p/jp7d5q/create-a-global-git-commit-hook to install a global hook in your workstation:
- Create a directory into your home
- Configure git templatedir there
- Make the hook it executable
$ mkdir -p ~/.git_template/hooks && \