• Post category:Git
  • Reading time:6 mins read

In this article, we will show you the step by step git installation on windows operating system. You can also install it in Mac OS X and Linux/Unix.

Before installing the git in the system, use the following command to check if the git exists or not.

git --version

Step by Step guide to install Git on windows

  1. Download Git
  2. Start installation

1. Download Git

Checkout the below link where you can find the source of the git to install in OS.
https://git-scm.com/downloads

You can choose the version based on your OS configuration.

2. Start installation

Let’s start with the installation of git. Right click on downloaded Git file and run as administrator, then you can see the below screen to go further installation.

Info – How to install Git in Windows – Code Premix
Info – How to install Git in Windows – Code Premix

Click on Next to continue, where you will find the options to select components which you want to install as a part of the git. You can see the recommended selection as mentioned in the image below.

Select Components – How to install Git in Windows – Code Premix
Select Components – How to install Git in Windows – Code Premix

You can directly click on the next button to continue.

Now you will find the below screen where you have to choose a default editor for git. Here I have selected Notepad++. You can choose any one that you want.

Choose Editor – How to install Git in Windows – Code Premix
Choose Editor – How to install Git in Windows – Code Premix

Click on Next to go further installation. In most cases you have to go with the default recommended configuration. You can also change it based on your need.

Adjust path – How to install Git in Windows – Code Premix
Adjust path – How to install Git in Windows – Code Premix
Choose HTTPS – How to install Git in Windows – Code Premix
Choose HTTPS – How to install Git in Windows – Code Premix
Config line ending conversions – How to install Git in Windows – Code Premix
Config line ending conversions – How to install Git in Windows – Code Premix
Config Terminal – How to install Git in Windows – Code Premix
Config Terminal – How to install Git in Windows – Code Premix
Config extra options – How to install Git in Windows – Code Premix
Config extra options – How to install Git in Windows – Code Premix

Installation will start once you click on the Next icon.

Installing – How to install Git in Windows – Code Premix
Installing – How to install Git in Windows – Code Premix

On successful installation, you can see the screen below.

Completing Setup – How to install Git in Windows – Code Premix
Completing Setup – How to install Git in Windows – Code Premix

At last, you can also check the version of the git by the same command mentioned above and you should see your installed git version like below.

Check version – How to install Git in Windows – Code Premix
Check version – How to install Git in Windows – Code Premix

Now you can confirm that git has been installed successfully on your machine.

I hope you find this article helpful.
Thank you for reading. Happy Coding!

Leave a Reply