Git create remote branch
To create a local branchgit branch branch_nameTo switch/checkout local branch
git checkout branch_nameYou can combine above two in one step instead
git checkout -b your_branchCreate remote branch (so that other co-workers/programmers/whoever can pull)
git push -u origin your_branchOthers can pull this by
git checkout origin/your_branch
View diff in GIT
What you will commitgit diff
diff between two branch
git diff master..branch_1diff since last commit
git diff HEAD
This entry is a note to self for being amnesiac.