8. creating a branch
$ git branch <new-branch-name> # Creates a new branch
$ git checkout <new-branch-name> # Switch to new branch
$ git branch # Check your local branches
9. creating a branch #2
# Creates a new branch and switches to it immediately
$ git checkout -b <new-branch-name>
13. merging a local branch
$ git checkout <dest-branch> # Switch to destination
$ git merge <branch-name> # Merge the specified branch
$ git log # Check if everything is fine
15. deleting a branch
# Deletes branch, but keeps commits
$ git branch -d <branch-name>
# Force deletes everything, both branch and its commits
$ git branch -D <branch-name> # USE WISELY!!
22. Pull requests: reloaded
Discussion for almost everything
Can be created before coding starts
You have a timeline history of commits
Forum-like functionality
lots of integrations and extra tools