Install Git for Windows

Jason Taylor
A free video tutorial from Jason Taylor
Lead Software Engineer, Dev Trainer (19 courses,50k reviews)
4.4 instructor rating • 19 courses • 454,509 students

Learn more from the full course

Git Going Fast: One Hour Git Crash Course

Learn the key concepts and basic workflow for Git and GitHub with this easy to follow, top rated, bootcamp-style course!

01:06:58 of on-demand video • Updated August 2020

  • Learn the key concepts of the Git source control system
  • Step through the entire basic Git workflow
  • Configure SSH for authentication
  • Create and use a remote repository on GitHub
English In this video, we're going to install Git for Windows. There are actually several ways to install Git on windows. We are going to use a project called "Git for WIndows", that provides us the most up-to-date version available for the Windows platform. This project is an improvement over the older recommendation of using the version of Git for Windows. As of the recording of this video, Git for Windows is still in preview; however, it is very stable, and for our purposes will be just fine. Either way, I recommend downloading and installing the latest version of Git for Windows. Let's start off by invoking our browser, in this case Google Chrome, then go to "". Once that page loads, click on the download button on the home page. This brings us to a page listing all the available downloads for the GIt for Windows installer. You can see here that we have both 32 bit and 64 bit versions of the installer executable. Since I'm running a 64 bit version of Windows, I'm going to choose the 64 bit version of Git for Windows. Choose the version of Git for Windows that best matches your operating system. Now I'm going to click on the link for the Git installer for my platform. That will begin the download process for the Git installer. Once the installer has finished downloading, go down and click on "Open". That will run the installer directly from the current location. If you are prompted about a security warning, just click on run. Windows may also prompt you to make sure that you want to install this program. Click on "Yes". Once the Git setup wizard starts, on the first page, click on "Next". The second page has the license agreement. Again, click on "Next" to agree to the license agreement. The next page is select your destination. This is the location that Git will be installed on your system. For me this location is perfectly fine, so now I will click on "Next". On the "Select Components" page, I would like the Git Bash icon on the quick launch, or taskbar, as well as on the desktop. To get both of those icons I will check "Additional icons", which also checks "In the Quick Launch" as well as "On the Desktop". Then click on "Next". This is the folder on the start menu that Git will be installed. Since this is fine I will continue by clicking on "Next". This page dictates what parts of Git and GIt Bash are installed. Although we will only be using Git Bash as part of this course, I recommend selecting the middle option. This will install Git Bash, as well as integration with the Windows command prompt. In doing so, no real major changes are being made to my system. So it is both flexible and fairly safe. After you've made your choice, click on the "Next" button to continue. This screen is regarding how to treat line endings. On Windows, text files normally end with a different style line ending than corresponding text files on Linux or the Mac operating system, which option you choose will greatly depend on whether or not you are going to be doing any cross-platform development. I prefer using the middle option: which is to checkout as-is, that is don't change anything, but then commit Unix-style. That means, when I use Git to commit, the file endings for my text files will automatically be converted to a Unix-style line ending. Since I bounce around between Windows, Linux, and the Mac operating system, the middle option makes the most sense for me. If you do all your development on Windows, and that goes for any team members sharing the same Git repositories, then the last option, "commit as-is" will be the option you'll want to select. Again I'm sticking with the middle option, and if I want to later, this can be changed. Once we've made our selection, click on on next. Regarding the terminal emulator to use, I'm going to stick with the top option, which is a minimal terminal emulator that runs the bash shell environment. Once you've made your selection, click on "Next". This page, "Enable file system caching" is experimental, and I recommend leaving it unchecked for now. Click on "Next", and now we are installing Git for Windows. Once the installation process has completed, on the final page we can un-check to view the README. Then click on the "Finish" Button. Now, let's close Google Chrome. While we're here, let's verify that Git for Windows has an icon on our desktop. Looks like it's there. So now let's double click on Git Bash to fire up Git Bash for the first time. Now that we've done that, let's verify that Git is installed. Type git, that's g-i-t, space, version. Once you've done that press the enter key. Git should respond with the version of Git that's installed. To close Git Bash, we can click on the close button that's part of the window, or we can type the command "exit".