We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Visualizing Branches

Throughout the rest of this course, we will use text to represent branches and commits. For example:

A - B - C  main

means a branch called main with 3 commits. C is the most recent commit (the tip), B is the previous commit, and A is the commit before that. To represent multiple branches, we'll use multiple lines:

    D - E  other_branch
  /
A - B - C  main

Assignment

Answer the questions based on this diagram:

       G - H    lanes_branch
      /
A - B - C - D   main
  \
   E - F        primes_branch