本人使用的系统 Ubuntu 18.04.1 ,使用apt安装Git:
apt
sudo apt insatll git
安装后发现不是最新的版本,更新方法:
sudo add-apt-repository ppa:git-core/ppa sudo apt update sudo apt upgrade
Ubuntu下apt方式安装与更新Git
原文:https://www.cnblogs.com/xgo0104/p/10247656.html