Python Programming

Department of Computing | Imperial College London

book

Lesson 5

Writing Reusable and Self-explanatory Programs

  • Chapter 1: Introduction
  • Chapter 2: Shortcut assignment statements
  • Chapter 3: Custom functions
  • Chapter 4: Refactoring
  • Chapter 5: Advanced function features
  • Chapter 6: Function scope
  • Chapter 7: Style conventions for functions
  • Chapter 8: git branch
    • [8.1] git branch
    • [8.2] Renaming the default branch
    • [8.3] Always default to main
    • [8.4] Creating a new repo
    • [8.5] Creating a new branch
    • [8.6] Switching branches
    • [8.7] git merge
    • [8.8] Summary
  • Chapter 9: Refactoring the robot
  • Chapter 10: Debugging and testing
  • Chapter 11: Summary

Chapter 8

git branch

If what I say resonates with you, it's merely because we're branches of the same tree.
William Butler Yeats

Rough estimated time needed
20 mins

Previous Next

Page designed by Josiah Wang

Department of Computing | Imperial College London