See whether Git uses a non-default hook directory.
Section: Hook Lifecycle Commands
Show hooksPath
bash
bash
git config --show-origin --get core.hooksPathLearn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Hook Lifecycle Commands