Branch Compare
Compare Git branches inside VS Code — without the context switching.
A focused dashboard for reviewing ahead/behind status, commits, and file diffs across all your local branches.

📸 Screenshots
Dashboard View

Branch Comparison View

✨ Features
|
|
| 🔀 Branch Overview |
Compare all local branches against a selected base branch |
| 📊 Ahead / Behind |
See commit counts at a glance for every branch |
| 🕐 Commit Info |
View latest commit author, message, and timestamp |
| 🔍 Search & Sort |
Find branches fast with built-in filtering |
| 📂 File Diffs |
Inspect changed files between branches or specific commits |
| 🔎 Commit Drill-down |
Explore file-level changes per commit from the dashboard |
📦 Install
Available on both registries — pick the one that matches your editor.
| Editor |
Registry |
Link |
| VS Code |
VS Code Marketplace |
Install → |
| VSCodium / Gitpod / Theia |
Open VSX Registry |
Install → |
Via VS Code UI
- Open Extensions —
Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (macOS)
- Search Branch Compare
- Click Install
Via CLI
# VS Code
code --install-extension codexdebayan.branch-compare
# VSCodium
codium --install-extension codexdebayan.branch-compare
🚀 Getting Started
Open the Dashboard
| Method |
Action |
| Command Palette |
Branch Compare: Open Dashboard |
| Keyboard shortcut |
Ctrl+Alt+B (Windows/Linux) · Cmd+Alt+B (macOS) |
The command is available when a folder or workspace with a Git repository is open.
Workflow
- Open a Git repository in VS Code
- Launch Branch Compare: Open Dashboard
- Select the base branch to compare against
- Browse the branch list — ahead/behind counts and latest commit info are shown inline
- Click any branch to open the detailed comparison view
- Explore changed files and launch VS Code diff views directly from the panel
📋 Requirements
- Git must be installed and available on your system
PATH
- A folder or workspace with at least one Git repository must be open
- Diff views use temporary snapshots prepared by the extension — no changes are made to your working tree
| |