linux git cli tools code example Example 1: git install $ sudo apt install git-all Example 2: install git bash in ubuntu $ sudo apt-get install install-info