Skip to content

What does merge mean in Git?

Merging brings the changes from one branch into another. Most often you merge a finished branch into main, so its changes become part of your main version.

An example

Your new-homepage branch looks good, so you merge it into main. Main now has the new homepage, and you can delete the branch.

Where you’ll meet it