Unclear Which Stop hooks are affected is not stated; it may be only some built-in ones rather than hooks you write.
What
A Stop hook is a script you can configure to run when Claude finishes responding. Certain Stop hooks are now skipped when Claude Code finds no .git folder or HEAD file in the current folder or any folder above it, which means you are not inside a git repository.
When this happens, the debug log records "no .git or HEAD at or above".
Why
Outside a git repository, some Stop hooks can now quietly not run. If a hook seems to be ignored, check the debug log for that line.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
Which Stop hooks are affected is not stated; it may be only some built-in ones rather than hooks you write.