You can turn off the Bash tool's git instructions via env var or setting.
What's wrong with this entry?
Whether the Bash tool's system prompt carries the Git safety and commit instructions now goes through one explicit check that honours the CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS environment variable and an includeGitInstructions setting. The default is unchanged: the instructions are included.
- Both the variable and the setting existed before; what is different is that a single helper now decides, so every prompt path respects them the same way.
CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.219
Opus 5 gets an extra system-prompt instruction restricting AgentTool, workflows and deep-research
Both mention system prompt
-
v2.1.219
Opus 5 carries an extra system-prompt block and suppresses subagent nudges
Both mention system prompt
-
v2.1.234
Your email address in the system prompt now comes with handling rules
Both mention system prompt