git remote add whatevernameyouwant the-git-address
#make a bare repository on the remote side:
git init --bare
#add the remote side as the push/pull tracker for your local repository
git remote add origin URL
#then locally you just say
git push origin master