_GitHub_ became dominant because it recentralized git and made it usable by the common developer. Git was just along for the ride.