how to upgrade to the latest version of git on linux code example Example: git update on linux apt-get update apt-get upgrade apt-get install git