Show git branch in remote (SSH) workspace chip row

Resolved 💬 4 comments Opened Apr 24, 2026 by MAPE-sub-zero Closed Jun 24, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

Summary

When starting a Claude Code session against a remote machine over SSH, the workspace chip row shows an empty branch indicator () instead of the current git branch. Local sessions against the same folder correctly display the branch name. It would be useful to have parity between local and remote workspaces for branch display.

Current behavior

Remote SSH session chip row:
<Machine> | <Folder> | ⎇ — | ☐ worktree

  • Branch chip displays even when the folder is a valid git repo on a checked-out branch
  • The branch chip is non-interactive (clicking does nothing)
  • The "+" (new workspace) button next to the worktree checkbox is missing

Running git branch --show-current on the remote correctly returns the branch (e.g. main), so the underlying git state is fine — the UI just doesn't surface it.

Why this matters

Without the branch displayed, there's no at-a-glance way to confirm which branch a remote session is targeting before you start asking Claude to make changes. This is especially relevant when working across multiple repos or when worktrees are involved.

Environment

  • Claude Code (desktop app) on macOS, connecting via SSH to another macOS host
  • Remote folder is a clean git repo on main
  • Not using worktree mode (checkbox unchecked)

Proposed Solution

Expected behavior

Remote SSH session chip row should display the detected branch the same way local sessions do:
<Machine> | <Folder> | ⎇ main | ☐ worktree

Ideally the chip would also be clickable to switch branches, matching local behavior. At minimum, displaying the branch name would provide visual confirmation of what branch the session will operate on.

Alternative Solutions

_No response_

Priority

Medium - Would be very helpful

Feature Category

File operations

Use Case Example

_No response_

Additional Context

Screenshots

Local session (branch shown correctly):
<img width="1048" height="145" alt="Image" src="https://github.com/user-attachments/assets/da1b2091-9410-43cc-83f7-4fd00d86c105" />

Remote SSH session (branch shown as ):
<img width="1054" height="137" alt="Image" src="https://github.com/user-attachments/assets/4573bfee-c70f-4334-8f29-8372c8a3ae67" />

Remote SSH session (git branch --show-current):
<img width="342" height="201" alt="Image" src="https://github.com/user-attachments/assets/dafe4065-32a8-4165-961c-9c34be445c17" />

View original on GitHub ↗

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