Installing Git on Windows 10

In this article, we will install and configure Git on Windows 10. Git is the most popular source code management and a distributed version control system.

To install Git on windows we need an executable file (.exc file). The Windows executable file can be found in below URL

 

https://git-scm.com/download/win

The above link is the official Git website, there you have to select 32-bit or 64-bit based on you computer. To download the executable file click on the respective link and you can see the download will started.

After you download the file, click on the executable (.exe) file and you can see a pop up window.

In the next screen you can see GNU General Public License. Click next to select installation directory. Select the directory you want to install the Git. Click next and tick “On the Desktop” (To create a Desktop icon)

Click next to continue the installation, on the next page you have to select a default editor for your Git. I chosen Notepad++ as my default Git editor.

Click the “Next” button and there you have to choose the PATH environment. I have chosen “Git from the command line and also from 3rd-party software”. This option helps you to use Git from Git Bash ( Same as Linux bash) and Windows command prompt.

Click the “Next” button to chose secure shell client program. I chosen “OpenSSH”

Click Next and select Openssl library for Git to use HTTPS connections. On the next page chose line ending style that Git has to use.

On the next screen select the defaults and click “Install” button to start the installation. Once the installation completed you can see a window like below. Tick on “Launch Git Bash” and click “Finish” button to complete the installation.

Once the installation completed, you can Gitbash windows is pop up.

Execute below command to check the installed Git version

#git --version

Yes, we successfully installed Git version 2.20 on Windows 10 🙂

Leave a Reply

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