[BUG] Git status formatting: missing space between branch and remote

Resolved 💬 3 comments Opened Nov 11, 2025 by 3rdman Closed Jan 13, 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?

Description

When displaying git repository information, the branch name and remote URL are concatenated without a space, making them hard to read.

## Example

Current output:
Branch: mainRemote: github.com:user/repo.git

## Impact
Minor readability issue in git status display at the start of conversations.

What Should Happen?

Expected output:
Branch: main
Remote: github.com:user/repo.git

Or:
Branch: main Remote: github.com:user/repo.git

Error Messages/Logs

Steps to Reproduce

Have Claude do a git add/commit/push to see the output.

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.24

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

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