Installing Git
Installing Git
On Ubuntu , Debian and similar OSes you need to run
sudo apt install git
On Rocky , CentOS , RedHat and similar:
sudo yum install git
For Windows you can download Git here there is a detailed article about installation «Installing Git on Windows»
Check the installed Git version
You can check the installed Git version with the version option
$ git --version
git version 2.22.0.windows.1
Article author: Andrei Olegovich