GitHub Extension for Visual Studio2023-12-08T12:05:30-08:00

Visual Studio and GitHub better together

Use GitHub and Visual Studio to bring your source control and CI/CD workflows closer to your code.
GitHub support is now built into Visual Studio.

Seamless integration with GitHub

Authenticate your GitHub.com or GitHub enterprise account to create a repository, and push your first commits to GitHub, all through Visual Studio.

Leverage AI with the power of GitHub Copilot

Leverage Copilot completions and Copilot chat to supercharge your productivity in Visual Studio. Additionally, deep integrations like the generated Git commit messages allow you to apply AI benefits to specific tasks in your workflow.

Clone and code from within the IDE

Clone and code from within the IDE

Browse your GitHub repositories, and clone your repo down to your local machine to start committing and pushing.

Create and push new repos

Take local code and push it to a new repository on GitHub in one step. Visual Studio handles the local and remote repository creation. You can even choose to make the repo completely private.

Branching, staging, and committing

Create and switch between branches from the status bar. View your changes, stage the files you want to commit, and make commits with GitHub issue search in the Git Changes tool window.

Merge and Rebase

Merge or rebase branches after completing features directly from within Visual Studio. You can also choose 
to merge or rebase when pulling, or prune branches when fetching.

Create a Pull Request

Create a pull request from remote branches in the new pull request window. You can add your title, description with Markdown support, reviewers, and see your changes summarized all at once inside Visual Studio.

Resolve merge conflicts

Visual Studio will recognize merge conflicts right when they occur, and show you the unmerged changes in the Git Changes window. The built-in merge editor takes you through each conflicting change, allowing you to take either the incoming or current side, and shows the result when you accept the merge.

Integrated CI/CD workflows with GitHub actions

With Visual Studio Publish you can setup GitHub Actions for ASP.NET Core applications being deployed to Azure with ease. Visual Studio will generate a working GitHub Actions workflow for you with just a few clicks.

Feedback