Powered by Mintlify
Auto-generate your docs
Learn how to install the latest stable version of Git on Ubuntu using the official Git PPA.
sudo add-apt-repository ppa:git-core/ppa sudo apt-get update sudo apt-get install git
git --version
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