how to install git and put it in your path code example Example 1: install git ubuntu $ sudo apt install git Example 2: download git for mac $ brew install git