Skip to content

Git info

The branch button on a project row opens a read-mostly view of where that repository stands, without leaving the panel.

Branch, tracking, working-tree counts, the remote, and the commit graph.
Branch, tracking, working-tree counts, the remote, and the commit graph.

What it shows

  • The current branch, as a dropdown. Pick another and XTop checks it out. The refresh button re-reads everything.
  • Ahead / behind against the tracking branch — ↑2 ↓0 means two commits to push and nothing to pull.
  • Working-tree counts as chips: staged, modified, deleted, untracked, conflicted. Only the non-zero ones appear, so a clean tree is visibly clean.
  • The origin remote URL.
  • The commit graph — the raw output of git log --graph --oneline --decorate --all, rendered as-is.

WSL projects

Git runs on the Windows host, not inside the distro. A project stored at a WSL path is addressed by its Windows path (\\wsl$\Ubuntu\home\...) automatically, so the same dialog works for both kinds of project with nothing to configure.

Not a repository

If the folder has no .git, the dialog says so plainly and offers nothing else. That is the expected state for a project you track in XTop but do not version — a scratch folder, a downloads directory, a design export.