9. Branching
All git repositories start on branch “master.”
● Takes a picture of the current branch
● Changes in branch do not modify others
● If things go well, merge into good branch
● Otherwise, nuke the branch!
10. Branching, cont.
Use cases:
● Development branch in commercial software
● New module in existing project
● Venturing into unknown territory
● Any time you think to yourself “I might make
a really, really stupid change that breaks the
whole codebase”
12. Use Git EVERYWHERE
● School software projects
● Side projects
● Collaboration with others
● Anything where you might make a really,
really stupid change that breaks the whole
codebase