I would like to note that the person asked for how to set up Subversion, not just any version control system such as git. I just wrote a tutorial on how to set up SVN on ubuntu 12 here:
This tutorial covers how to install git on ubuntu 12.04 via apt-get and from the source. Git is a distributed version control system released to the public in 2005. The program allows for non-linear development of projects, and can handle large amounts of data effectively by storing it on the local server.