At your box:
make a directory for your repositories,
mkdir ~/repos
go to your directory,
cd ~/repos
clone your (empty) repository from the server to this directory,
git clone address-of-your-repository
or, if you use mercurial
hg clone address-of-your-repository
Do your exercises in (subdirectories of) this directory,
commit changes, and push the commit to the server,
git add --all
git commit --all --message 'did this and that blah blah...'
git push
or, if you use mercurial,
hg add
hg commit --message 'an indicative message describing commit'
hg push
The long options can be abbreviated as -a
and -m
.