git bash macOS code example
Example 1: download git for mac
$ brew install git
Example 2: git bash mac
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/fabriziocucci/git-bash-for-mac/master/install.sh)"
Example 3: install git bash in ubuntu
$ sudo apt-get install install-info