I've just set up a new machine with Ubuntu Oneiric 11.10 and then run
apt-get update apt-get upgrade apt-get install git
Now if I run
git --version it tells me I have
git version 18.104.22.168 but on my local machine I have the much newer
git version 22.214.171.124
I know I can install from source to get the newest version, but I thought that it was a good idea to use the package manager as much as possible to keep everything standardized.
So is it possible to use
apt-get to get a newer version of
git, and what is the right way to do it?