Installing Git
Linux
CentOS/RHEL
sudo yum install git
Configure your Git username and email using the following commands:
git config --global user.name "Support"
git config --global user.email [email protected]
Debian/Ubuntu
sudo apt-get install git
Configure your Git username and email using the following commands:
git config --global user.name "Support"
git config --global user.email [email protected]
Windows
- Download the latest installer for Windows: https://git-for-windows.github.io/
- Complete the Git setup wizard (Defaults are sensible for non-specific use cases)
Using the command prompt, configure your Git username and email using the following commands:
git config --global user.name "Support"
git config --global user.email [email protected]
macOS
Homebrew
brew install git
Configure your Git username and email using the following commands:
git config --global user.name "Support"
git config --global user.email [email protected]
Mac installer
- Download the latest installer for Mac here: https://sourceforge.net/projects/git-osx-installer/files/
- Install Git using the prompt that are suggested
Using the terminal, configure your Git username and email using the following commands:
git config --global user.name "Support"
git config --global user.email [email protected]