Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

How to install Git on Ubuntu/Linux.

To install Git on Linux/Ubuntu you have to Run the below commands

Step 1 :- First check that your packages are updated or not :

sudo apt update

Step 2 :- Run the below command to install Git :

sudo apt install git

Step 3 :- Verify the installation by typing the below command which will print the Git version :

git –version

OUTPUT

git version 2.17.1