User details:
Clone a repository:git config --global user.name "Daniel Morales" git config --global user.email daniel@isp.com
Create a new branch (locally):git clone ssh://USERNAME@git.server.com/PATH/TO/MODULE
Checkout a branch:git branch "new_branch_name"
Update changes from server:git checkout "branch_name"
Commit changes:git pull
Add files:git commit
View local changes:git add /path/tho/file.c
View log:git diff
Reset (revert) changes of a single file:git log
Push (upload) changes to server:git reset HEAD /path/to/file.c
Push a new branch (created locally) to server:git push
Run a git command, in 'testing' mode (it doesn't affect anything):git push origin "branch_name"
Download a branch from server:Add --dry-run as an option of any git command you use.
Update:git remote fetch originSetup a local branch to track the remote branch:git branch --track [local-name] origin/remote-nameSwitch to local-name:git checkout [local-name]