You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
WorktreesArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release
What
A worktree is a separate working copy of a git repository. When Claude Code creates one, it now runs a check before and after fetching and adding it, and refuses if the repository or worktree location is unsafe or has been swapped part-way through.
Why
Worktree creation is harder to trick into writing somewhere it should not.