Before you can use Gerrit, you have to install Git and perform some basic configuration changes. Following are the steps to install Git client on different platforms.
You can install the Git on Linux by using the software package management tool. For instance, if you are using Fedora, you can use as −
sudo yum install git
If you are using Debian-based distribution such as Ubuntu, then use the following command −
sudo apt-get install git
You can install Git on Windows by downloading it from the Git website. Just go to msysgit.github.io link and click on the download button.
Git can be installed on Mac using the following command −
brew install git
Another way of installing Git is, by downloading it from Git website. Just go to Git install on Mac link, which will install Git for Mac platform.