A tutorial on branching, merging, etc.