Ubuntu上安装git sudo apt-get update sudo apt-get install git #在线安装git git version git --version #查看git版本