In this tutorial we will learn,how to install and upgrade to latest Git version on Debian based Operating System.At the time of writing this post,git version 1.9.1 has been released on 2014-03-18. The information of new Git version release can be obtained from git-scm.com
The practical has been tested successfully in Ubuntu,Debian and Linux Mint.
Git is a free and open source distributed version control system.In modern time,it is one the most popular version system widely used in small to big sized companies.Git has come up with alternate choice over SVN.
The below given steps are applicable for both install and upgrade to latest git version
In this method we will add git ppa link https://launchpad.net/~git-core/
Step 1: Run the below given command to add git ppa
sudo add-apt-repository ppa:git-core/ppa
Step 2: Run
apt-get update command
sudo apt-get update
Step 3 .Now install or upgrade to latest available git version
sudo apt-get install git
Step 4: After installation you can check the git version by using below given command
Below given is the reference from my system
[email protected]:~/Desktop$ git --version git version 1.9.1 [email protected]:~/Desktop$