Skip to content
NNekwasa.R

Glossary

What Is a Git Merge?

A merge takes the work from one branch and combines it into another. It’s how a finished feature or fix makes its way back into the main version of your project.

How it fits the workflow

  1. Build a feature on a branch.
  2. Review it (often via a pull request).
  3. Merge it into main.

When two branches change the same lines differently, you get a merge conflict — which Git helps you resolve by hand.

More terms

Browse all terms →