Skip to main content

How to install Git Mac OS Mojave using Homebrew

Git is a distributed version-control system for tracking changes in source code during software development. To install Git on Mac OS follow below steps:

Step 1: Update Homebrew

$ brew update

Step 2: Install Git using brew

$ brew install git

Step 3: Check git is successfully install by typing either of below commands

$ which git
$ git --version

Submitted by tgoswami on August 31, 2020

Tarun has 11+ years of experience in Quality Assurance in different domains like Banking, E-commerce, Health and Education.


At ProgramsBuzz, you can learn, share and grow with millions of techie around the world from different domain like Data Science, Software Development, QA and Digital Marketing. You can ask doubt and get the answer for your queries from our experts.