| Debian / Ubuntu | sudo apt-get install git |
| Fedora | sudo yum install git |
| Windows | Download and install msysGit_ |
| OS X | Use the git-osx-installer_ |
See the git page for the most recent information.
Have a look at the github install help pages available from `github help`_
There are good instructions here: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git