Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Install using Brew:

brew install git

When done, to test that it installed properly you can run:

git --version

And which git should output /usr/local/bin/git.

Next, you can define your global Git user:

git config --global "Your Name Here"
git config --global ""

They will get added to your .gitconfig file found in the home folder ~/.

Last updated