Installing Git
Before embarking on the basics of Git, install git using the procedure for your operating system (OS). The OSes covered in this guide include Windows, Linux and MacOS.
Windows
Download the installer from here and follow the installation wizard.
(Recommended) Download the Git Credential Manager for Windows from here. Be sure to check the repo for further instructions.
Mac
Download the latest installer for git for Mac and install through the prompts.
(Recommended) Download the Git credential OSX keychain helper. Open terminal
cd /path/to/credential/helper/download
sudo mv git-credential-osxkeychain /usr/local/bin
chmod u+x /usr/local/bin/git-credential-osxkeychain
Linux
Open terminal. Then follow instructions according to your Linux distribution.
Ubuntu
sudo apt-get update
sudo apt-get install git
Fedora
sudo yum install git
OpenSUSE
Install from the repository. Be sure to select the correct distribution.