When you install Visual Studio, select the option to Customize the install and be sure to check the GitHub Extension for Visual Studio check box. It's that easy.
Did you already install Visual Studio without adding the extension? No worries, download it now.
Connect to GitHub
Once you install the extension, you can log into your GitHub.com or GitHub Enterprise account in Visual Studio with full support for two-factor authentication. There is no need to use personal API tokens.
Clone repositories in one click
Once connected, it's quick to clone repositories from your account or any organization you belong to.
Click the clone button to bring up a dialog that shows all the repositories you have access to. Use the filter textbox to quickly find the repository you're interested in.
Create repositories and build something great
Need a new repository on GitHub? No problem! The create dialog makes it easy to create a repository on GitHub and clone it to Visual Studio all in one step.
Publish your local work to GitHub
Already have a project on your machine? Well what are you waiting for? Publish it to GitHub and start collaborating with others.
In the Team Explorer window, click on the Sync tab to get to the Publish to GitHub dialog.
View Pull Requests in Visual Studio
View all of the Pull Requests for your project in the GitHub pane, and sort and filter them by Open/Closed state, Assignee and Author.
Open the GitHub pane by typing GitHub into Visual Studio Quick Launch (Ctrl+Q).
Create Pull Requests from Visual Studio
Turn a branch into a Pull Request directly from Visual Studio.
In the GitHub pane, click the Create New link to create a new Pull Request on GitHub.
Create Gists
Create gists and upload them to GitHub directly from Visual Studio.
Simply select the code to upload and select Create Gist from the GitHub context menu.