Use the package manager appropriate for your distribution to install GIT like yum or apt-get.
For instance for Ubuntu Linux use:
sudo apt install git
or for Amaxon, Centos or Redhat:
sudo yum install git
Sometimes these installation commands may have trouble if you have:
An out of date version of Linux
A virtual machine of Linux that you haven’t run for a while or haven’t rebooted for a while
If you have a really toasted copy of Linux you might want to get a fresh one.