天天看點

How to download and install git on Ubuntu/Linux

1) For the latest stable version for your release of Linux/Ubuntu

sudo apt-get install git

2) For Ubuntu, this PPA provides the latest stable upstream Git version

sudo add-apt-repository ppa:git-core/ppa 

sudo apt update

sudo apt install git