how to install git on windows 10 code example Example 1: install git ubuntu $ sudo apt install git Example 2: install git $ brew install git