Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.307 ·

Stricter safety checks on a repository's Git folder and settings

Claude Code now inspects every entry in .git/objects and rejects symlinked or oversized ones, and its Git config allowlist varies by platform

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

Git keeps a project's history in a hidden .git folder, and its stored data in .git/objects. Claude Code's safety check on that folder now looks at every entry inside it. It rejects any subfolder that is a symlink (a shortcut pointing somewhere else) or is oversized, with the message "symlinked or oversized .git/objects entry". Before, it checked only the objects, pack and info folders.

The list of Git settings Claude Code accepts as safe now includes patterns that depend on your operating system. The check on the submodule.*.update setting now uses a shared pattern.

Why

These are security checks on repositories. A repository that was tampered with to point Git at other files is more likely to be caught.

See this entry in the whole of v2.1.307 →

Feedback