The easiest way to install the version control system Git on Ubuntu is of course to do apt-get install git-core. But that will not give you the most current stable version of Git.
Usually, that wouldn’t matter to me. I prefer the stability of Ubuntu’s official repositories, instead of having the latest version of every software. But with Git it is different.