I was going to say "how about github?" ... but, maybe you're right
Pull requests, CI platform, authentication that is not PAM etc.
A lot of work maybe, and required a vision to do so initially. But straightforward work that MS could easily do it, and of course other small companies have replicated it too.