Jeet pointed me to this nice online book on git
It is a complicated but powerful tool. Don't worry we are only going to cover the basics.
From a terminal. If you wanted to get the repository at git://github.com/mtholder/eebprogramming.git, you would use the command:
git clone git://github.
com
/mtholder/eebprogramming.
git
This would create a directory called eebprogramming as a subdirectory of your current working directory. Inside that directory you would have the .git repo and all of the content.
First change directories until you are in a git-managed directory and then "pull":
cd eebprogramming
git pull origin
This will retrieve all of the latest changes from the "origin" (the URL that you used when you initially cloned a copy of the repository).
This only applies to your own repos.
git commit -m "message here" -a
git push origin