Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Listing git worktrees now runs with extra environment settings

Claude Code now lists git worktrees with its own environment plus extra settings, and worktree removal has an added check that can end it early

Under the hood Internal Changes
JSON All of v2.1.331
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
WorktreesArea: what it touches
Internal ChangesKind: in v2.1.331,
Internal ChangesSection of the release
What

A git worktree is an extra working folder linked to the same repository. When Claude Code lists worktrees, it now passes git its own environment variables plus some extra ones. Environment variables are named settings handed to a program when it starts.

One path that removes a worktree also has a new check that can finish the removal early.

Why

This may fix worktree listing when git settings inherited from your shell would otherwise get in the way.

See this entry in the whole of v2.1.331 →

Feedback