A merge commit is created by a non-fast-forward merge. It has two parents, so git log --graph shows the branch and join as a diamond.