On the server
sudo apt-get install git
mkdir /home/chris/gitroot
cd /home/chris/gitroot
mkdir myproject
cd myproject
git --bare init
# perform merges on the client, not automatically at the server
git config receive.denyNonFastforwards true
On the client
sudo apt-get install git
cd myproject
git init
git add *
git commit -m 'initial commit'
git remote add origin ssh://[email protected]/home/chris/gitroot/myproject
git push -u origin master