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

Install Git - Visual Studio Tutorial

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

Start my 1-month free trial

Install Git

- [Instructor] To work with Git, you need to have it installed on your local developer computer. I am working in Windows 10, so I would go to the git-scm.com website and go to their Download section, then click on Windows, and then down I would either save the installer file locally or choose to run it from the browser. This is one way to install Git. You might not need to go through this process, if you already have Visual Studio installed, because it's one of the options in the Visual Studio installer. Let me show you what I mean. If you are working with an older version of Visual Studio, perhaps you have Visual Studio 2013 or 2015, go to Apps & features, click on Programs and features, search for Visual Studio, I have Enterprise installed, so that's what I look for, and I see that I have this version here for 2015, so I click on the Change button, that brings up this dialogue, and search near the bottom of the list for Git for Windows. Put a check mark here, and then update your copy of Visual Studio. I'm using Visual Studio 2019 for this course, so I would go to my Start menu and search for Visual Studio, and run the Visual Studio installer. Then click on Modify, click on Individual components, and search for Git. Then put a check mark here, and then click on Modify. Once you've gone through these steps, you'll have Git installed, and then you can start using it from the command line, or from Visual Studio. If you're working with Github, you'll also need to have some extensions installed in Visual Studio, and I'll show you how to do that in the next video.

Contents