Answering this old thread because I stumbled over it when I was too lazy to browse my project doc:
Be sure to run git config core.hooksPath <path to your git hooks> in the project root to tell IntelliJ where to find your git hooks.
git config core.hooksPath <path to your git hooks>