Visual Studio Code has integrated source control management (SCM) that lets you work with Git and other version control systems directly in your editor. Git support is built-in, and you can install extensions for other SCM providers from the Visual Studio Marketplace.
The integrated source control interface provides access to Git functionality through a graphical interface instead of terminal commands. You can perform Git operations like staging changes, committing files, creating branches, and resolving merge conflicts without switching to the command line.
Changes you make in the VS Code interface are synced with your command-line Git operations, so you can use both the UI and terminal as needed. The source control interface works alongside the command line rather than replacing it.
Prerequisites
To use Git features in VS Code, you need:
-
VS Code uses your machine's Git installation. Install Git version 2.0.0 or later on your machine.
-
When you commit changes, Git uses your configured username and email. You can set these values with:
">Copilot in VS Code - Discover more AI-powered features beyond Git workflows
8/12/2026