I have been going through the, "git merge-base", man page and I can't understand how multiple merge bases develop. Specifically, I'm hung up on the following illustration in the man page:
When the history involves criss-cross merges, there can be more than one best common
ancestor for two commits. For example, with this topology:
---1---o---A
\ /
X
/ \
---2---o---o---B
both 1 and 2 are merge-bases of A and B. Neither one is better than the other (both
are best merge bases). When the --all option is not given, it is unspecified which
best one is output.
I just can't understand how such a situation could be created. I have attempted to recreate this criss-cross merge situation between branches using a test repository but I cannot replicate it. In all cases, I always wind up with 1 merge commit to which both A and B point to (instead of A and B pointing to independent merge commits as the diagram illustrates).
Can anyone illustrate how this situation can arise? Is this a common situation or an error situation?

Criss-cross merges can arise in different ways. On example that springs to mind is when you have two branch references pointing to the same merge commit (one of those branches being checked out) and you run
git commit --amend. The following toy example does just that:At this stage, the output of
git log --graph --oneline --decorate --allisNow amend the last commit (see How does git commit --amend work, exactly? for more details):
After that, the output of
git log --graph --oneline --decorate --allwill beThere you go: the history now contains criss-cross merges.
As illustrated above, the situation can arise. It may be undesirable, but it shouldn't be considered an "error state".