Git allows multiple coders to develop a piece of software at the same time by creating distributed source files, which can be edited offline from multiple locations, and then allowing authors or “committers” to commit changes to the main document, or create branches of the master document where code can be edited, then cleaned up, and merged. This system allows for a detailed documentation of code changes by multiple authors, so that it is possible to backtrack to previous versions, and make corrections where necessary.
[incomplete post…TO BE CONTINUED…]
Some commands, from the GitReal Tutorial on CodeSchool:
git init
git status
git add "*.txt" (or add a folder, or document)
git commit -m
git log
git remote add origin
git push -u
git pull origin master
git diff HEAD
git diff -- staged
git reset
git checkout
git branch
git rm
git merge
git branch -d
git push