From the course: Visual Studio: Source Control with Git and GitHub

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Connect and authenticate: PowerShell

Connect and authenticate: PowerShell - Visual Studio Tutorial

From the course: Visual Studio: Source Control with Git and GitHub

Start my 1-month free trial

Connect and authenticate: PowerShell

- [Instructor] Now let's see about logging in to GitHub. I've entered my username and my credentials, and now I can see the information I requested, git remote show origin. So information about where the remote is. This is the GitHub location, or I should say the URL, and which branch and so on. Now, why did this work? Think about what just happened. I used my credentials to log in to a remote repo that Terry created. So let's see how that happened. So I'll go over here to GitHub with Terry's account. We'll go to her repository. Go to settings and then collaborators. So here, she added me as a teammate or a collaborator. So she was the only person on this account. She went in here and added my GitHub username here. I received an email and responded to it, so now I'm considered to be a collaborator. And now I can log in and access this repository with my credentials. So there's two people now that can access this…

Contents