This workshop will be retired on May 1, 2025.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Preview
Start a free Courses trial
to watch this video
In this video, we install the GitHub extension in Visual Studio.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
[MUSIC]
0:00
Hi there, I'm Carling, and I want to show
you how to use Github with Visual Studio.
0:04
Github is a source control
hosting provider that uses Git.
0:10
A lot of popular open source projects
use GitHub for collaboration.
0:13
The open sourced asp.net and
.netcore are hosted on Github, and
0:17
you can even make contributions.
0:21
If you don't have a GitHub account,
it's easy to create one and it's free for
0:23
you to host public repositories.
0:27
We'll be installing and
using the GitHub extension
0:29
along with using the Git integration
tools that come with Visual Studio.
0:32
If you're not familiar with Git or
0:35
source control in general,
make sure to check out our course on Git.
0:37
If you're familiar with Git but
0:41
haven't used GitHub,
then check out our course on GitHub.
0:42
Links to those courses
are in the teacher's notes.
0:45
After this workshop, you'll be comfortable
with using GitHub in Visual Studio to
0:49
track your changes, keep your code
safe and share it with others.
0:52
We'll be using the community
edition of Visual Studio 2015.
0:57
It's free to use, so if you don't have
it installed, pause the video and
1:00
check out the link in the Teachers Notes
to get everything set up.
1:04
Here we are in Visual Studio 2015.
1:08
I wanna point out that Visual Studio
has Git integration already, but
1:11
the GitHub extension will let us
do more with GitHub repositories.
1:14
Let's click on Tools and
then Extensions and Updates.
1:18
Here's a list of our installed extensions.
1:22
Now there's actually a way to
include the GitHub extension during
1:24
the initial install of Visual Studio,
so you may already see it in this list.
1:27
In the sidebar expand the Online option,
this extension is
1:31
pretty popular among developers, so
here it is near the top of the list.
1:35
If you don't see it, type in GitHub
in the upper right search box, and
1:39
it should appear in the results.
1:44
You can make sure you've got the right
one by checking that it's made by
1:46
GitHub at the top of the Metadata pane.
1:49
Click the Download button.
1:53
Accept the terms.
1:57
And then restart Visual Studio.
2:01
In Visual Studio,
2:04
most source control functions are in
the team explorer panel here.
2:05
We now have GitHub in
the Hosted Service Providers section.
2:09
If you don't have an account,
click on Sign Up, and
2:12
it will open a browser window to
the sign up page on github.com.
2:15
You should take a moment to sign up
before moving on to the next video.
2:19
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up