Learn how to add the GitHub Extension to Visual Studio.
- [Instructor] At this stage, you know how to look at the branches in the repository and check out each tip. I'd like to show you one extra extension that's available in Visual Studio that makes it easy for you to communicate with GitHub. I won't be using it in the course, but if you ever want to create your own remote repository on GitHub, this is the tool that you want. Before I show it to you, let's look in Team Explorer in the Connection section, and you'll see that I have only one item here, for Git Repositories, that's my Local Git Repositories. I have this other section up here, which a connection to Visual Studio Team Services.
You might not have this on your copy of Visual Studio. Anyway, the point is there's only the Local Git Repositories at the moment. I'll open up the Tools menu and go to Extensions and Updates, then go online and look for GitHub. This is the extension you're looking for, GitHub Extension for Visual Studio, created by the GitHub team. Now I'll click the Install button. And I'll have to restart Visual Studio.
When Visual Studio restarts, go back to that Connection section of the Team Explorer tab, and you'll see that there is a new section at the top called GitHub. This shows some of the repos that I created in my Visual Studio Source Control course. The point is, is that I can sign in to GitHub, and I can see my remote repositories here. And I can make changes here, in my local repo, and eventually push them to the remote repository. At this point, we're ready to start looking at our first tip.