How to install git Ubuntu

Git is one of the most popular version control tools used as a distributed version control system(VCS). Version control is a system that records changes to a file or set of files over time so that you can access specific versions later and make changes.

Installing Git on Ubuntu

 sudo apt-get update 

Above command updates OS packages

sudo apt install git

Above command install latest git in your system. To check the version run the following command.

git --version
git version {version number}

Setting Up Git Config

 git config --global "Your name" 
 git config --global

Above command will be used to tracked the git commits/contribution. User contribution to the project will be tracked.

To view your config,

 git config --list 

To edit the global variable.



name = Your Name

email =

To start using git follow the tutorial : How to use git to clone, commit, pull and so on.