10. $ git fetch origin
At this point the repository has all the commits from the
original repository, but they are not integrated into the
the cloned repository’s local branches.
11. Git Landscaping
# Be sure everything is up to date.
$ git checkout master
$ git pull
# Remove remote tracking branches which no longer
exist.
$ git remote prune origin
# See what branches are merged.
$ git branch -r --merged master
13. Branch Prefixing
- You know who is responsible for deleting each
branch
- You can find all your branches quickly with tab
completion
- You can easily find a teammate’s branch with
only a general idea of its name.