查询Git版本 git --version # 查看Git版本 Git版本升级 sudo apt update # 更新源 sudo apt install software-properties-common # 安装 PPA 需要的依赖 sudo add-apt-repository ppa:git-core/ppa # 向 PPA 中添加 git 的软件源 sudo apt-get up...