# includeGitInstructions

> The key that can leave out Claude Code's own git help.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** includeGitInstructions setting

## Think of it like

It is like a cheat sheet taped to the desk. You can take it down if you have your own.

## Definition

includeGitInstructions is a settings key that decides if Claude gets two pieces of git help. One is Claude Code's own steps for writing commits and pull requests. The other is a snapshot of the repo, with the branch and git status. The default is true. Set it to false to leave both out, for example when you use your own git skills.

## Example

Emma's team has its own commit skill with strict rules. They set includeGitInstructions to false, so the two do not fight.

## Example code

```json
{
  "includeGitInstructions": false
}
```

Leave out the built-in git steps and snapshot.

## Why it matters

Two sets of git rules can pull Claude in different ways.

## Common mistake

Thinking false stops Claude from using git. It only drops the built-in notes, and git still works.

## Three principles

- **Two git notes.** Steps and snapshot.
- **On by default.** true.
- **False drops both.** Git still works.

## Related terms

- [CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS](https://learn.benibix.com/term/ai/claude-code-disable-git-instructions-variable)
- [attribution Setting](https://learn.benibix.com/term/ai/attribution-setting)
- [Claude Code Skill](https://learn.benibix.com/term/ai/claude-code-skill)

---

Source: https://learn.benibix.com/term/ai/include-git-instructions-setting
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
