On Linux, simply fire up your Terminal and use apt-get, pacman, yum, dpkg, portage, and friends to install Git. Here's how simple the installation looks on Ubuntu when running the sudo apt install git command:
Once you have accepted, apt will install everything you need. After that, the git command will be available for use.