How to install git on Ubuntu?

How to install git on Ubuntu 14.04/16.04 LTS?

Update the packages:

Install Git:

Check if Git installation was successful:

Configure and use git:

How to install git on Ubuntu 18.04/20.04 LTS?

Update the packages:

Install Git:

Check if Git installation was successful:

Configure and use git:

Leave a Reply