Why this matters: Git strategy decisions are debated and explained in English in code reviews, tech talks, and architecture discussions. From "rebase vs. merge" debates to monorepo tooling discussions, precise vocabulary helps you contribute to and lead these conversations.

Frequently Asked Questions

What's the difference between branching strategies like Gitflow and GitHub Flow in these exercises?

The Gitflow model uses distinct branches for features, releases, and hotfixes, offering structured release management. GitHub Flow emphasizes a simpler flow with short-lived feature branches merging directly into `main` after code review – both are simulated to test your understanding of their workflows and impact on collaborative development.

I'm struggling to understand 'conflict resolution' in the context of merging conflicting changes. How does that apply here?

In these exercises, conflict resolution involves identifying differing code versions when two branches are merged. You'll practice using tools like `git mergetool` or manually editing files to resolve discrepancies, ensuring a consistent codebase after integration – it's rarely just 'accepting one change.'

What is the purpose of a 'three-way merge' and why is it important for understanding these exercises?

A three-way merge utilizes the common ancestor (the commit both branches diverged from) to reconcile differences. This method provides a detailed view of what was changed on each branch, allowing you to accurately apply changes while minimizing data loss during integration – crucial for complex scenarios.