[DOCS] Settings reference is missing `includeGitInstructions` and `CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS`

Resolved 💬 2 comments Opened Mar 4, 2026 by coygeek Closed Mar 7, 2026

Documentation Type

Missing documentation (feature not documented)

Documentation Location

https://code.claude.com/docs/en/settings

Section/Topic

Settings key reference and environment variable controls for system prompt behavior.

Current Documentation

No documentation currently exists for either:

  • includeGitInstructions setting
  • CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS environment variable

The settings reference table covers adjacent git-related controls but does not include this toggle:

| attribution | Customize attribution for git commits and pull requests ... |
| includeCoAuthoredBy | Deprecated ... co-authored-by Claude ... |

What's Wrong or Missing?

Changelog v2.1.64 adds a new setting/env-var pair that controls whether built-in commit/PR workflow instructions are included in Claude's system prompt, but the main settings documentation has no entry describing:

  • Default behavior
  • Setting precedence vs env var
  • Where this applies (interactive mode, agents, etc.)
  • Trade-offs when disabling built-in git workflow instructions

Suggested Improvement

Add a new settings entry for includeGitInstructions with:

  1. Type, default value, and scope.
  2. Equivalent env var CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS and precedence rules.
  3. Example settings.json snippet.
  4. Short explanation of expected behavior change in system prompt content.

Impact

Medium - Makes feature difficult to understand

Additional Context

Affected Pages:

| Page | Line(s) | Context |
|------|---------|---------|
| https://code.claude.com/docs/en/settings | 146-180 | Settings table includes git-related controls but no includeGitInstructions entry |

Total scope: 1 page affected

Source: Changelog v2.1.64

  • Added includeGitInstructions setting (and CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS env var) to remove built-in commit and PR workflow instructions from Claude's system prompt.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗