Each commit in git has at least one parent (except for the first / initial commit). The commit parent is the previous one.
C1 <- C2 <- C3
C1 is the initial commit. C2 is the second. C1 is the parent of C2. The same goes for C3.
Merger approval is a special fix in terms of the number of parents.
C1 <- C2 <- C3 \ .. C4 <- C5 <- C6
C6 - merge lock. He has two parents: C3 and C5. If you combined the two branches (commits) when you were on C5: C5 is considered parent 1 (first parent), and C3 - parent 2 (second parent).
joker
source share