Merge commits, not branches
In this chapter, we are going to look closer to the merge process. After you’ve learned, that branch is only a label, time to have a look at what merge is.
Let’s start with some theory and slowly move to practice. First, I want to introduce you to the five rules of the merge:

- The first rule of the merge is:
The merge is about merging two commits, not branches - The second rule of the merge is:
The merge is about joining two commits, not branches ( this is not a typo, it’s just very essential ) - The third rule of the merge is:
It’s not necessary to merge the last two commits ( those without children ), but any commit can be merged with any commit - The fourth rule of the merge is:
Merging two commits produces a new commit, even when you merge the same commits again - The fifth rule of the merge is:
History of both commits should have diverged and they must have a common parent
