Install Git on Linux

How to install git on Ubuntu

Update the package index:

sudo apt update
#password for [sudo]

Run the command to install Git

sudo apt install git

To verify the current version of Git

git --version
Installation process

Last updated

Was this helpful?