When you’ve written a git hook, don’t forget to make it executable. Git will not tell you why it’s skipped and go ahead and skip the hook all together.

Solution:

chmod ug+x .git/hooks/*