[BUG] Branch indicator in status bar does not update when branch changes mid-session

Open 💬 2 comments Opened Jun 22, 2026 by SJervis

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Summary
The branch name shown in the Claude Code Desktop status bar reflects the branch that was checked out when the session was opened. If the branch changes during the session, the status bar continues to show the old branch name and does not refresh.

Actual Behavior
The status bar continues to show the branch that was active when the session was opened. The only way to see the correct branch is to start a new session.

Workaround
Start a new session — the correct branch will then appear in the status bar.

Environment

Claude Code Desktop (Windows 11)
Model: Sonnet 4.6

What Should Happen?

If the branch changes during the session, the branch indicator should refresh and show the new branch name.

Error Messages/Logs

Steps to Reproduce

Steps to Reproduce

Open Claude Code Desktop with a git repository
Note the branch shown in the status bar
Check out a different branch (via SmartGit, terminal, or any git client)
Observe the status bar
Expected Behavior
The status bar branch indicator updates to reflect the currently checked-out branch.

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

Claude 1.14271.0 (c8f4d8)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗