{"version":"2.1.251","anchor":"git-instructions-in-the-bash-tool-prompt-can-be-switched-off","canonical_anchor":"git-instructions-in-the-bash-tool-prompt-can-be-switched-off","heading":"Git instructions in the Bash tool prompt can be switched off","tier":"use","area":"System Prompt","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.251\/e\/git-instructions-in-the-bash-tool-prompt-can-be-switched-off","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.251","markdown":"### Git instructions in the Bash tool prompt can be switched off\n\nYou can turn off the Bash tool's git instructions via env var or setting.\n\n**What**\n\nWhether 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.\n\n**Details**\n\n- 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.\n\n**Evidence**\n\n`CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS`\n\n- Area: System Prompt\n- Names: `CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS`, `includeGitInstructions`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 3\/5"}