Install latest Git
Learn how to install the latest version of Git on your system.
-
Install stable Git version
Bashsudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
-
Check Git version
-
Optional: Configure Git
Bashgit config --global user.name "Your name"
git config --global user.email "Your email"
# enable color output
git config --global color.ui author
# check configuration
git config --global --list