We use custom-written Git hooks in our project.
Hooks are stored in a project\'s repository, and, when they do change, to get a new version each user must copy them
In Git 2.9, you can point to a custom hooks directory using the core.hooksPath
configuration.
Git 2.9 Release Notes - https://github.com/blog/2188-git-2-9-has-been-released
Documentation mentioning core.hooksPath
- https://git-scm.com/docs/githooks
Note - this question is a possible duplicate of Can Git hook scripts be managed along with the repository?