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.