Skip to main content
For more information, see the PPA Git page on Launchpad.
1
Add the Git stable PPA and install
2
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
3
Check the Git version
4
git --version
5
(Optional) Configure Git
6
git config --global user.name "Your name"
git config --global user.email "Your email"

# enable color output
git config --global color.ui auto

# check configuration
git config --global --list

Build docs developers (and LLMs) love