Follow Discord
Sweep 09 Oct 2026 · 17:27Z Build v2.1.296 517 read Stable v2.1.287 Latest v2.1.296 Next v2.1.296 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.296 ·

Cloud git setup keeps the plain upstream URL as origin and no longer passes GIT_CONFIG

Repository setup now adds origin with the plain upstream URL instead of the credentialed one, and git subprocesses no longer inherit GIT_CONFIG

Group of 3 You'll notice Improvements
JSON All of v2.1.296
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
GitArea: what it touches
ImprovementsKind: in v2.1.296,
ImprovementsSection of the release

Unclear What Claude Code does when the ANTHROPIC_CUSTOM_HEADERS values match or differ is not known.

What

These changes affect how Claude Code sets up git, the version-control tool, in a repository it prepares for a session.

  • Setup now adds the origin remote using originURL instead of authURL, so the URL that contains credentials is no longer written into the repository's git config. A new originURL field sits next to authURL.
  • For a governed git setup with a direct-upstreams list, the warning now says every source keeps its upstream URL as origin and no in-session fetches are routed through the git mount. Before, it said every source was reset to its upstream URL after preparation.
  • Git commands that Claude Code runs no longer inherit GIT_CONFIG from your environment. Any variable matching GIT_CONFIG, in any letter case, is removed. This joins the existing GIT_CONFIG_GLOBAL=/dev/null and the removal of CLAUDE_CODE_SESSION_ACCESS_TOKEN.
  • Separately, a new check looks at whether ANTHROPIC_CUSTOM_HEADERS holds a non-empty header and whether it matches a value from another source. What that check controls was not shown.

Why

The credentialed URL is no longer stored in the repository's git config, and an inherited GIT_CONFIG can no longer change how Claude Code's git commands behave. Admins of governed git setups should expect sources to keep their upstream URL as origin rather than being reset after preparation.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhat Claude Code does when the `ANTHROPIC_CUSTOM_HEADERS` values match or differ is not known.
Anthropic's release notes agreeFixed $.http.fetch in mods refusing a HEAD request when the response declares a Content-Length over the 4 MiB body limit

See this entry in the whole of v2.1.296 →

Feedback