> Cambrian explosion followed by consolidation.
The term is "adaptive radiation", of which the Cambrian explosion is a prominent example. (Unrelated but awesome note: search for "edicarian biota" to look at some body plans that might have won, but didn't.)
Git and Mercurial were Linux affiliated.
In the end, when apps are similar and don't have fatal flaws, it comes down to a popularity contest.