Installing git is easy with operating system provided packages like apt or dnf. We can track here Fedora way with dnf but it is very similar for other operating systems like CentOS, Debian, Ubuntu etc.
$ dnf install git -y
Failed to set locale, defaulting to C
Last metadata expiration check: 1:28:52 ago on Thu Oct 6 08:01:17 2016.
First-Time Configuration After installing git making some configuration will make usage of the git more easy. System wide configuration is held in /etc/gitconfig . ButContinue reading