You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
GitArea: what it touches
Bug FixesKind: in v2.1.334,
Bug FixesSection of the release
What
Claude Code works out a git repository's default branch, usually main or master, from the remote copy called origin. Git can report that branch name in several forms. Claude Code used to remove only a leading origin/. It now also removes these prefixes:
refs/remotes/origin/
remotes/origin/
Why
Some git setups report the branch in one of the longer forms. There, Claude Code now gets a clean branch name instead of a wrong one.