Git Client installation

Git can be installed in any operating systems like Windows, Linux and Mac. Most of the Mac and Linux machines, Git will be pre-installed.

  • GitHub is an open source tool which helps the developers to manage, store, track and control changes in their code. If we want to clone(copy) the data from GItHub we need to install Git.

  • There are some alternatives for GitHub like GitLab, Bitbucket. But many developers prefer GitHub because it's more popular and they are used to the navigation. So we are using Git in DIGIT

  • GitHub is used to create Individual projects.

Checking for Git:

To check whether Git is already installed in your systems, open in terminal.

  • If you are in Mac, look for the command prompt application called "Terminal".

  • If you are in Windows, open the windows command prompt or "Git Bash".

  • Type the below command:

git version

Installing Git on Linux:

Ubuntu:

In Ubuntu using terminal we can directly install Git using terminal.

  • Go to command prompt shell and run the following command to make sure everything is up-to-date.

sudo apt-get update
  • After that run the following command to install Git.

sudo apt-get install git-all
  • Once the command output has completed, verify the installation using

git version

Installing Git on Windows and Mac:

git version

Last updated

All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.