download git bash in ubuntu code example Example 1: download git for mac $ brew install git Example 2: install git bash in ubuntu $ sudo apt-get install install-info