installing git in ubuntu 18.04 code example Example: how to install git in ubuntu 18.04 sudo apt update sudo apt install git