How to Download & Install Git for Windows?

For uploading your files into your Git, you are required to download and install Git. In this blog, I would be providing a detailed procedure for downloading and installing Git in your PC.

What are the pre requisitions to consider before you download and Install Git?

Before you install Git, you need to first create your own GitHub account. In case you have not created your own GitHub account, visit the link attached below to know about the process that is to be followed in order to create a GitHub account.

Procedure for downloading Git

Step 1: Visit the link provided below.

Step 2: Since, we are downloading Git for windows. Select “Windows”

Step 3: If you see File Explorer dialogue box appearing as shown in the image below, select the file location in which you are willing to save the setup file and then click on the “Save” button.

Procedure for installing Git

Step 1: Now, open the setup file after you find it getting successfully downloaded.

Step 2: Here you first need to acknowledge the license and thoroughly read the policies mentioned. And after you are ready, click on “Next >” button.

Step 3: Select the destination in which you want to install Git and click on “Next >” button.

Step 4: Here, you can click on “Next >” button.

Step 5: Now, you can either select a different folder to install Git or you can just click on “Next >” button.

Step 6: At this point, you can select your editor such as Notepad++, Sublime Text, etc. If you want to leave it as default, you can click on “Next >” button.

Step 7: Since, I like to work in Linux style windows command line prompt, I am selecting the third option i.e. “Use Git and optional Unix tools from the Command Prompt”. If you are willing to run Git and the Git command line tools from the Git then select the first option i.e. “Use Git from Git Bash only”. If you want to run Git from Git from Windows command line then choose the second option i.e. “Git from the command line and also from 3rd-party software”. After selecting an option, click on “Next >” button.

Step 8: Here, we are required to choose HTTPS transport backend. In my case, I will be choosing the first option i.e. “Use the OpenSSL library” and click on “Next >” button.

Step 9: Since, I want to checkout in windows style but commit in Unix style, I am selecting the first option i.e. “Checkout Windows-style, commit Unix-style line ending”.

Step 10: Here, we are required to select a terminal for emulator to use with Git Bash. It is recommended to Use MinTTY (the default terminal of MSYS2) i.e. the first option since it is lightweight and more configurable than Windows default console Window. Then, click on “Next >” button.

Step 11: Now, we need to choose the default behavior of git pull. Here, we can select the first option i.e. Default (fast-forward or merge) and click on “Next >” button.

Step 12: At this point we are required to select the configuration of extra options. Here, we are selecting the extra features which we like to enable. Hence, we are selecting first two options i.e. “Enable file system caching” and “Enable Git Credential Manager”. After selecting the options, click on “Next >” button.

Step 13: Here, If you do not want to configure experimental features, it’s not necessary to select the “Enable experimental support for pseudo consoles” option. Instead, you can directly click on the “Install” button.

Step 14: Finally, the installation of Git is being carried out as shown in the image below.

Step 15: After your installation is complete, click on “Next >” button for viewing release notes.

Step 16: Open your command line.

Step 17: After you open your command line, type “git” in order to ensure that git has been successfully installed. If the output is displayed as the image below, then Git has been successfully installed in your PC.

Written by

Cloud Computing | Data Science | Mobile Application Development | Artificial Intelligence | Python Programming | Soft Skills | Many more…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store