{"version":"2.1.285","anchor":"git-status-branch-label-handles-more-cases","canonical_anchor":"git-status-branch-label-handles-more-cases","heading":"Current git branch is now read by its full name","tier":"internal","area":"Git","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.285\/e\/git-status-branch-label-handles-more-cases","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.285","markdown":"### Current git branch is now read by its full name\n\nClaude Code now reads the current branch by its full git name and strips the refs\/heads\/ prefix itself\n\n**Unclear.** It is not confirmed why this was changed or whether any reader will see a different branch label.\n\n**What**\n\nClaude Code asks git for the name of the branch you are on. It used to ask for the short name. It now asks for the full name, such as `refs\/heads\/main`, and then removes the `refs\/heads\/` part itself before showing it.\n\n**Why**\n\nThe full name always points to a branch. So a branch that has the same name as a tag should still be read as the branch.\n\n- Area: Git\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5"}