git init
git remote add <name> <url>
git pull <name> serverbranch:localbranch
git add <filename>
git commit -m "<commit message>"
git push <name> localbranch:serverbranch
git checkout <branchname>
git checkout -b <branchname>
git branch
git merge <branchname>
This work is licensed under the CC By-SA 3.0 , without all the cruft that would otherwise be put at the bottom of the page.
Sister Sites: GATE CSE Wiki, GATE CSE, Aptitude Overflow