install git command line globle code example Example 1: ubuntu install git sudo apt update sudo apt install git Example 2: download git for mac $ brew install git