By default the hooks directory is .git/hooks. But the .git/hooks directory isn’t cloned with the rest of your project, nor is it under version control. So maintaining hooks for a team of developers can be a little tricky.
Setting core.hooksPath configuration variable to hooks directory:
git config core.hooksPath .githooks