Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to install Git

📅 2016-Jun-18 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ git, ppa ⬩ 📚 Archive

Installing Git is easy in Ubuntu:

$ sudo apt install git

However, Ubuntu ships with old versions of Git and development on Git is progressing rapidly. New stable releases of Git drop once every 6 months or less.

The latest Git stable releases can be installed using their PPA:

$ sudo add-apt-repository ppa:git-core/ppa
$ sudo apt update
$ sudo apt install git

Tried with: Ubuntu 15.10 and Git 2.9