Follow Discord
Sweep 29 Sep 2026 · 18:10Z Build v2.1.285 506 read Stable v2.1.280 Latest v2.1.285 Next v2.1.285 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.285 ·

Git commands when creating a worktree now use stricter settings

Creating a worktree now runs git with a hardened set of settings, including limits on network protocols and no interactive SSH prompts

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

A worktree is an extra working copy of a git repository. When Claude Code creates one, the git commands it runs now get their settings from a shared setup step instead of a fixed list. That setup includes stricter git settings:

  • GIT_ALLOW_PROTOCOL, which limits the network protocols git may use, now only accepts names made of letters, digits and -.
  • SSH runs in batch mode, so it will not stop to ask for input.
Why

This tightens security around the git commands Claude Code runs for you.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe full set of git commands covered by these settings is not clear.

See this entry in the whole of v2.1.285 →

Feedback