Skip to content
skillbld
Day 5 of 10 25 mingit branchgit switchHEAD

Work on ideas in parallel without breaking main. Understand what a branch really is, create and switch branches, and see how HEAD follows you.

By the end of today you can

  • Explain that a branch is a movable pointer to a commit
  • Create, list, switch and delete branches
  • Describe what HEAD points to
  • See how branches diverge as you commit on each
  • Name branches clearly

What's inside

  • 6 sections
  • 3 diagrams and mind maps
  • 4-question quiz
  1. 1A branch is just a pointer
  2. 2Create and switch branches
  3. 3Commit on a branch
  4. 4Branches diverge
  5. 5Clean up
  6. 6Naming branches

Sign in free to read this lesson

Get the full lesson with diagrams, runnable code and the quiz. Your progress is saved across devices.

Sign in free
Day 5: Branches · Git & GitHub · SkillBld