Before you can start using Git, you need to install it on your computer.
Install on Linux
The fastest installation method is to install Git as a binary package. Different Linux distributions have different package managers. For example, use the following command to install RedHat:
sudo yum install git
Git Officiallist the steps for various Unix distributions.
brew install git
Install on Windows
The official version can be downloaded from Git official website. Please note that this is a project called Git for Windows (also called msysGit), which is a separate project from Git. For more information visit msysgi.