Getting Started
Installing Git
To install Git is as easy as going to this website and downloading the relevant package. If you need to install the binary in Fedora or any closely related RPM-based distribution
$ sudo dnf install git-all
If you’re on a Debian-based distribution then
$ sudo apt install git-all
To install Git on a Mac I would suggest going with Homebrew. Assuming you have Homebrew installed, type
$ brew install git
Once it is installed, then type the following line, which will set our path to the local git distro instead of Apple’s
$ export PATH=/usr/local/bin:$PATH
To update it in the future all you will need to do is run
$ brew upgrade git