ssh email@example.com # remote server
git --bare init
git clone firstname.lastname@example.org:~/Code/chess.git
# This does the same as the above
#git remote add origin email@example.com:~/Code/chess.git
# change some files
git add .
git commit -m "Changed some files"
git push origin master
For my next project for my programming class I've decided to use git on my server as well as the 'ol faithful lappy... just in case lappy dies or something.
Many thanks to the great blogger Tim: http://toolmantim.com/articles/setting_up_a_new_remote_git_repository