Install the needed packages

sudo apt-get install git git-core gitk git-svn 

Identify yourself

git config --global user.name "Your Name Comes Here"
git config --global user.email you@yourdomain.example.com