I\'m just starting to look into Git hooks, but I can\'t seem to get them to run.
I set up a local repository, so there is now a \'.git\' directory in my project folder.
Maybe it'll help someone - in my case, I had set core.hooksPath to wrong directory. Reseting it with git config --global core.hooksPath '~/.githooks' solved the issue :)
core.hooksPath
git config --global core.hooksPath '~/.githooks'