To globally enable githooks, run:

git config core.hooksPath .githooks