Claude Code stops exposing sign-in tokens to its own git commands
Claude Code 2.1.323 runs its internal ripgrep and most git commands without most sign-in tokens and API keys.
Claude Code 2.1.323, dated November 12, 2026, changes how the tool runs its own ripgrep search utility and most of its internal git commands. They now run without most of Claude Code's sign-in tokens and API keys. The practical effect, according to the release's changelog entry, is that a credential helper or hook running under one of those git commands no longer finds the credentials it used to.
A credential helper is a program that git can call to supply login details when a remote asks for them. A hook is a script that runs at a particular point in a git operation. A user whose helper worked under the old behavior would therefore find that it no longer finds its credentials after upgrading. The changelog describes the consequence but not how a user would detect it or what to change in response.
The entry leaves several things open. It does not list which tokens and keys are withheld and which, if any, still reach these commands, and it does not define which git commands count as internal. It also gives no reason for the change. A separate entry in the same release fixes read-only git commands that needed approval or were refused under claude -p when CLAUDE_CODE_SUBPROCESS_ENV_SCRUB is set on Linux.
What changed
Claude Code's internal ripgrep and most of its internal git commands now run without most of Claude Code's sign-in tokens and API keys, so credential helpers or hooks under those git commands no longer find the credentials they used to.
Type: Breaking change · Takes effect: Thursday, November 12, 2026 · Applies to: Claude Code 2.1.323
Why it matters
Custom credential helpers or hooks that relied on Claude Code's tokens inside git calls will stop working after the update.
What you can do
Check any credential helpers or hooks that run under Claude Code's git commands and confirm they still get the credentials they need.
Original source
Where we saw it
Claude Code changelog
AI wrote this summary from the sources listed, and nobody reviewed it individually before publication. Check the original source before you rely on it. How it works