[BUG] Claude Code desktop app does not reflect the correct branch in the UI

Resolved 💬 3 comments Opened Feb 10, 2026 by mapk Closed Feb 14, 2026

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?

I see this UI in Claude Code. It is helpful only if it reflects the correct branch that I'm on. Unfortunately, it does not, at least not unless I hard refresh the app. Then it displays the correct branch.

<img width="365" height="160" alt="Image" src="https://github.com/user-attachments/assets/3b2840bb-6c1e-4009-9bc1-162d79ef0e4e" />

Can this be fixed to display the correct branch when I checkout different branches?

What Should Happen?

The UI in Claude Code desktop app should display the correct branch I'm on.

Error Messages/Logs

Steps to Reproduce

  1. Pull down a git repo.
  2. Create a new branch and check it out.
  3. Observe the UI does not update to show the new branch name.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.20

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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