Now for VS Code 1.90 and newer
The Git client
that lives in VS Code
See your history as a graph, stage the exact lines you mean, resolve merge conflicts side by side and rewrite history, all in the editor you already use.
Install Git Checkout Read the docs
Native to VS Code
It takes your theme, your fonts and your keys. Nothing in it looks or behaves like a guest.
Where your code is
It runs next to your folder, so it works the same on your machine, over SSH, in WSL, in Dev Containers and in Codespaces.
Quiet by default
No telemetry, and background fetch never asks for a password. It only talks to your own remotes.
Layout
One sidebar, and tabs for the wide things
Your repositories, your changes, the commit you selected, its files and your branches sit in one sidebar, and each part folds away. A diff or a picture opens as a tab in the main area, like a file does.
History
See every branch at once
A commit graph with branches, tags and stashes. Search by author, path, date, or by the text a commit added or removed, and a background fetch keeps it current.
Changes
Stage exactly what you mean
Stage a file, a hunk, or only the lines you select, on either side of a side-by-side diff. Commit, amend, or commit and push from the same place, and edit the message of an older commit when you need to.
Blame
Know who changed every line
Who last changed the line you are on, at its end and in the status bar, with a hover that shows the author, the message with its issues and pull requests linked, and quick actions. Turn on a column for the whole file, and CodeLens above its functions.
GitHub
Pull requests, without leaving the editor
For a repository on GitHub, the sidebar lists the open pull requests as the ones you made, the ones waiting for your review and all the others, with how their checks stand. Check one out, or review what it changes, in a click.
Merging
Resolve conflicts side by side
Take the incoming side, the current side or both, for a conflict, a line or the whole file. The result below is an editor you can type in, and everything scrolls together.
Rewriting history
Reorder, squash, reword and drop
An interactive rebase you can see. Drag commits into order, preview each one and run it when the plan looks right.
Archaeology
Who changed this, and why
The history of a file, a folder or a single hunk, and a blame view that shows who last changed each line of a commit’s change.
Speed
Every action, one keystroke away
Quick Launch lists every repository action and your own commands. Common actions have keys you can turn off or rebind.
Files
Browse and compare, pictures included
Walk the tree of any commit, preview its pictures, and compare two versions of an image side by side.
And the rest of Git
- Branches, tags and remotes
- Fetch, pull and push
- Stashes
- Worktrees
- Submodules
- Cherry-pick and revert
- Reset, patches and archives
- Bisect
- Git Flow
- Commit signing
- Clone with progress
- Pull requests on GitHub
- Edit any commit’s message
- Open on GitHub
- Issue tracker links
Questions
Does it replace the built-in Git extension?
No. It uses it for credentials and for the Git path, so what you set up for VS Code keeps working.
Which versions of VS Code does it need?
VS Code 1.90 or newer, with the built-in Git extension turned on, and Git installed on the machine that holds your folder.
Does it work over SSH, in WSL and in containers?
Yes. Git Checkout is a workspace extension, so Git runs on the same machine as your folder.
Does it collect telemetry?
No. For a repository on GitHub it asks github.com which account made a commit, once per author, to show a picture. You can turn that off.
Can I change the keyboard shortcuts?
Yes. Turn them all off with one setting, or rebind any of them in VS Code’s Keyboard Shortcuts editor.