Git Tutorial 3 – Install GIT On Windows – Step By Step


We are going to learn to install GIT software on Windows step by step in this post. But if you are not aware of what is GIT and why we should use it then I will recommend going through the below posts-

Git Tutorial 1 – What Is Version Control System?

Git Tutorial 2 – What Is GIT And Its Advantages?

Did you know that I have started a YouTube channel as well and I need your support to make it successful. Please do watch content then comment, like, share, and obviously subscribe.

Download GIT on Windows

GIT can be installed on Windows, Linux/Unix, and macOS.

  1. Navigate to the download page of GIT. ( On this page, you will find the latest version of GIT and the download link for Windows. It automatically shows the download link based on the operating system of your PC.

2. Click on the “Download for windows” link. You will see download is happening. It will download a file named Git- Please note download file has the current GIT version.

Note – If you do not want to perform Steps 1 and 2 above then directly open URL Downloading will start as soon as you hit this URL in the browser.

Installation GIT on Windows

We have already downloaded GIT in the above section. Now it is time to install that. Installing GIT is like any normal software on Windows. It has a lot of configuration steps and we should at least read them so that in future we can see usage.

  1. Double click on the downloaded executable file of GIT. It may show a popup for permission to make changes which you should allow.
  2. It will show an information page containing terms and conditions. If you are interested to read all those paragraphs then do that and click on Next otherwise you can directly click on the Next button.

3. Select the destination location where GIT will be installed. You can continue with the default location as shown below or you can change it. Click on Next.

4. In this step you need to select components to be installed. I will recommend going with the default selection. GIT Bash and GIT GUI are major components that are default selected. You can also check Additional icons on the Desktop. Click on Next.

5. Select if you would like to GIT shortcut in the start menu. Go with default selection and click on Next.

6. Select the default editor of GIT. I use Notepad++ as the default editor used by GIT. You can select any option in the dropdown. There are many options available.

7. Now this is a new feature of GIT. If you are little aware of GIT then you may know the default branch name used by GIT is master. This can be customized now. As of now, you can go with the default branch name and click on Next.

8. Now you need to set up how you would like to use GIT from the command line. Use the recommended option as there will be no need to set up any environment path. Click on Next.

9. Select SSL/TLS library used by GIT to use for the HTTPS connection. Go with default selection and click on Next.

10. Configure how GIT should treat line endings in text files. You will not understand this as of now so click on Next with default selection.

11. Configure the terminal emulator to use with GIT bash. As we have already selected to install GIT Bash as well. Click on Next with default selection.

12. Configure the default behavior of the git pull command. As of now, we do not what is git pull, fast forward, rebase and merge. So better to continue with the default selection and click on Next.

13. Choose a credential helper. It has a new option now called Git Credential Manager Core. It is a cross-platform version. Go with default selection and click on Next.

14. Enable file system caching to boost performance which is default selected. Click on Next.

15. Configure experimental options. These two features are new and optional. I will suggest you check “Enable experimental built-in file system monitor“. Usage we will see later. This will be the last screen of setup and now click on Install.

16. Installtion will start and should take less than 1 minute.

17. You will get below screen after successful installation of GIT. Check “Launch Git Bash” and Click on Finish.

Verify GIT installation

As we have checked to launch GIT bash you will see a window as below:-

git –version” will give you installed version info of GIT on your system.

You can also use the Windows default command prompt and there is no need to set GIT path explicitly as that is done during installation.

You can also use Windows PowerShell as well.

You can subscribe to my YouTube channel RetargetCommon to learn from video tutorials.

If you have any doubt, feel free to comment below.
If you like my posts, please like, comment, share and subscribe.

Find all Selenium related posts here, all API manual and automation related posts here, and find frequently asked Java Programs here.

1 thought on “Git Tutorial 3 – Install GIT On Windows – Step By Step

  1. thank you for this sir!

    my current git version is 2.31
    I see in your screenshots that you have 2.32
    Is there a command to upgrade?
    Or do I need to uninstall the version I have and then download & install the latest version on my Windows 10 machine?

Leave a Reply

Your email address will not be published. Required fields are marked *