git checkout -b branch_name
git branch -a
git checkout branch_name
git push origin branch_name
git merge branch_name
git branch --delete branch_name
git push origin --delete branch_name
git reset --hard <the sha1 hash>
git tag -a v1.0 -m 'version 1.0'
git push origin v1.0
git tag -d 12345
git push origin :refs/tags/12345
git checkout source_branch <paths>..
# example
git checkout development templates/home.html