To install Git on Amazon Linux using the command-line interface (CLI), follow these steps
sudo yum update
sudo yum install git
git --version
Last updated 1 year ago