How To Install Git on Linux
Brief notes on how to install Git on various Linux Distributions
Installing Git on CentOS 8
First, update the CentOS local package index (it might take a while):
sudo dnf update -y
Then, install git with the following command:
sudo dnf install git -y