EasyEnv
Engineering/Courses/Catalog/Git/Branching Workflows
Git
BeginnerLesson 10 of 1320 min · hands-on

Branching Workflows

Part of the Git course

Everything you have learned so far, branching, merging, rebasing, tagging, tells you what Git's commands do, but none of it tells you when to create a branch, how long to keep it around, or who is allowed to touch main directly. Git genuinely has no opinion about any of that.

Think of a shared kitchen with several cooks working at once. If everyone chops vegetables directly on the one central counter, they need to communicate constantly and clean up after themselves immediately, or things collide fast. If instead everyone preps their own dish at a separate station and only brings it to the counter when it is fully ready to plate, collisions are rarer but the counter can go quiet for a...

Want to learn Git Branching Workflows in a real environment?

Click below, get a fresh Linux box with Git ready to go, and work through Branching Workflows hands-on with an AI tutor that knows your code.

Start this lessonBranching Workflows

What you'll learn

  • Trunk-based development
  • GitHub Flow
  • Git Flow
  • Short-lived branches

Read this lesson in your language

All lessons in this course

13 lessons
  1. 1Init and Your First Commit25 min
  2. 2Status, Diff, and Log25 min
  3. 3Branches and Merging30 min
  4. 4Resolving Merge Conflicts30 min
  5. 5Remotes: Push, Pull, Fetch30 min
  6. 6Stash and Cherry-pick25 min
  7. 7Rebasing30 min
  8. 8Interactive Rebase and Squashing30 min
  9. 9Tags and Releases20 min
  10. 10Branching Workflows20 min
  11. 11Recovering Lost Work25 min
  12. 12Hooks25 min
  13. 13Capstone: A Full Pull Request Flow40 min

Explore other courses

Branching Workflows - Git (English) | Engineering Courses