How To Install Git On Windows

INTRODUCTION

Git is a version management program used to record changes made to files. It facilitates collaboration by merging several contributors' edits into a single repository and keeps track of changes made to files so you can have a record of what has been or is being done.

Git hub, on the other hand, is a cloud-based git repository hosting service that provides a web-based graphical interface.

There are several Git commands but the most commonly used ones are;

Git init, Git clone, Git add, Git merge, Git pull, Git push.

Below is a detailed explanation of how to install git on your Windows PC.

PREREQUISITES

  1. Your system needs to be configured to run a windows server.

  2. An operating system with administrator rights.

  3. A password and username to set for Github.

  4. Source code editor e.g visual studio code, Atom, Sublime text, Notepad++.

INSTALLATION OF GIT

Carefully follow the steps below to install Git on your windows server

STEP 1:

Download the latest version of Git for windows.

As of the time of writing this article, the latest version available for download was (2.39.0) 64-bit version of Git for windows. Which was released on 2022-12-21.

Now click on 64-bit Git for Windows Setup and proceed to download.

STEP 2:

Once the download is completed proceed to launch the installer.

STEP 3:

Read the General Public License information and click Next to continue with the installation.

STEP 4:

Select the folder where Git should be installed and click Next.

STEP 5:

Leave the default checked ☑ components to be installed and click Next.

STEP 6:

The default start menu folder where the program shortcut will be created is Git. Click Next to continue.

STEP 7:

Use the dropdown🔻 to select the default editor you’ll like Git to use and click Next.

The image below shows Visual Studio code as the default editor chosen. Yours could be different depending on the type of editor you'll like Git to use.

STEP 8:

Click on the default Let Git decide to enable Git to use its default branch name which is currently “master”.Click Next to continue.

STEP 9:

Select Git from the command line and also from 3rd-party software. Click Next to continue.

This installation phase allows you to adjust your PATH environment to enable you to use Git from either Git Bash or the windows command prompt.

STEP 10:

Choose the default Use bundled open SSH to be the secure shell client program you'll like Git to use. Click Next to continue.

STEP 11:

Leave the default OpenSSL library and click next to continue.

This step allows you to determine how you want the server certificate validated.

STEP 12:

The subsequent five(5) processes below should use the Default configuration. Click Next to continue till you get to STEP 13.

STEP 13:

Leave the experimental configuration unchecked and click Next to continue.

STEP 14:

Wait until the installation is completed and then proceed to launch Git Bash.

Congratulations! You have successfully installed Git on your Windows PC.

CONCLUSION

This article explains a step-by-step process on how to install Git on your windows operating system. You can launch Git on your PC if you successfully completed the installation.