gitcanopy
Git in one VS Code tab: a clear history, a branch map with worktrees, staging down to single lines, merge preview, a rebase planner and side-by-side conflict resolution.

Get started
- Open a folder that is a git repository.
- Click the canopy icon (a small tree) in the Activity Bar on the left. Or:
- Source Control view → the canopy button (branch icon) in its title bar
- Status bar → canopy (bottom left)
- Command Palette (
Ctrl+Shift+P) → Open canopy
- Explorer → right-click a folder → Open canopy
canopy opens in an editor tab and follows your light or dark theme. It uses the git already installed where your repository is.
History

- The commit graph of all branches, with branch and tag labels, authors and dates.
- Click a commit for its message, files and a side-by-side diff. All files shows the whole tree; open any file to read or blame it as it was.
- Right-click a commit to create a branch or tag, check it out, cherry-pick, revert or reset.
- Find commits by message, author or hash.
Changes: stage and commit
- Stage a whole file with +, a hunk with Stage hunk, or single lines: click, drag or Shift+click them, then Stage lines.
- Unstage and discard work the same way. Discarding always asks first.
- The commit button says what happens, e.g. Commit 2 files to main, or Stage all & commit when nothing is staged.

Branches and worktrees
- Every branch is drawn against a base branch (main by default). Its line starts where it left the base; the longer the line, the more commits it has that the base doesn't.
- Each card shows ahead/behind, upstream status and the last commit, plus a merge preview: Fast-forward, Merges cleanly or N conflicts.
- Filter by local branches, remote branches, tags, merged branches or worktrees.
- Worktrees: see each one's folder and branch; open, add, lock, remove or prune them.

Inspect a file
Who changed a file, when, and why: useful for debugging and reviews.
- Every change to the file, following renames, with author, date, commit, branch and tag.
- For each change: the diff, the whole file at that version, blame, and a compare with any other version or your working copy.
- Where: the branches and tags that contain the change, and the first release that shipped it.
- Filters: branch or tag, author, dates, message, and code change to find when a piece of text was added or removed.
- History of lines: in File at this version, click a line number, Shift+click another, then History of these lines.
- Restore this version puts an old version back into your working copy (asks first).

Merge, rebase and conflicts
- Merge shows the preview first and lets you choose: fast-forward, always a merge commit, fast-forward only, or squash.
- Rebase planner: pick the branch to rebase onto, then keep, reword, squash, fold or drop each commit, and reorder them.
- Conflicts open in Changes: each block side by side, with Use left, Use right, both, or edit by hand. Then Save & mark resolved, and Continue in the banner.
Insights
Commits over time, who contributes, the busiest days and hours, the most changed files, and file types.

Remotes
- Fetch, Pull and Push, with the number of commits to pull or push. The ▾ next to Push sets prune, tags and pull mode.
- Open on GitHub / GitLab / Bitbucket for commits and branches, and Create pull request or merge request.
- Open any repository from a URL, and add, rename or remove remotes.
Commands
| Command |
What it does |
| Open canopy |
Open canopy for the folder in an editor tab |
| Open canopy in Browser |
The same, in your browser |
| Check canopy for Updates |
Look for a newer version (see Updates) |
Shortcuts inside canopy
| Keys |
Action |
Ctrl+K |
Search actions, branches, files and commits |
Ctrl+B |
Switch branch |
Alt+1 … Alt+5 |
History, Changes, Branches, Insights, Inspect |
Ctrl+Enter |
Commit |
? |
All shortcuts |
If VS Code takes a shortcut first, use the Search button at the top of canopy instead.
Languages
canopy speaks English, Deutsch, Italiano, Español, Français, Português, 日本語, 한국어 and 简体中文, and follows VS Code's display language. To pick another, open the repository menu (top left in canopy) → Language.
Settings
| Setting |
Default |
What it does |
canopy.checkForUpdates |
true |
For .vsix installs: check GitHub once a day for a newer version |
WSL, SSH and containers
canopy runs where your repository is, so it works in WSL, SSH and container windows. VS Code forwards the connection to the tab.
Updates
- Installed from the Marketplace or Open VSX: VS Code updates canopy.
- Installed from a
.vsix: canopy offers Update when a new version is out. It checks the download against its SHA256 checksum first.
Privacy and security
- canopy runs only on your computer, on
127.0.0.1, with a new secret key each time it starts.
- Nothing is sent anywhere. Your
git only contacts a server when you fetch, pull, push or open a URL.
- Anything that throws work away asks first.
Troubleshooting
| Problem |
Fix |
| No canopy icon or button |
Run Developer: Reload Window |
| "git was not found" |
Install git where the repository is, e.g. in WSL: sudo apt install git |
| The tab stays blank |
Close it and open canopy again |
| Two canopy extensions |
The old git-canopy is removed automatically; reload once |
More
canopy is also a desktop app for Windows, Linux and macOS: website, releases. Source and issues: github.com/nanjarapalli/gitcanopy. License: Apache 2.0.
| |