Install Git on multiple platform

This article will bring you through how to install git on multiple platform, mostly will be linux and unix.
Using the Linux package’s preferred package manager Installing Git on Linux is the easiest way. If you like building from source code, you can find tarball on kernel.org. I hope this article is helpful to everyone.

Debian / Ubuntu

$ apt-get install git

Fedora

$ yum install git

Fedora 22 > version

$ dnf install git

Gentoo

$ emerge --ask --verbose dev-vcs/git

Arch Linux

$ pacman -S git

openSUSE

$ zypper install git