All of that is revisionist history at best. GitHub was a pile a shit long before Microsoft bought it has everyone forgotten when it would be a coin-flip on any given day if the site was even functional?
GitHub was in the right place at the right time to be a success despite the fact it's a massively clobbered together mess.