Use the package manager appropriate for your distribution to install GIT like yum or apt-get.
For instance for Amazon or Ubuntu Linux use:
sudo apt install git
Use the package manager appropriate for your distribution to install GIT like yum or apt-get.
For instance for Amazon or Ubuntu Linux use:
sudo apt install git