When joined in they were on the tail end of sunsetting Google Code, which they explained was the smart thing to do because Google doesn’t want to waste its time on opportunities that aren’t measured in billions.
Google then sat on the sidelines as GitHub grew to a tens of billions dollar business, and now Google spends billions trying to get more developers on GCP which they could have gotten for free if they still owned the portal to the code all the developers use.
A lot of Google wisdom sounded a lot wiser before we saw how it fully played out.
Google Code was great but the reason it sunset was because GitHub ate its lunch (just like Google Code ate Sourceforge before that). It would have distracted their resources to focus on that and the billions their spending to get developers on GCP are not influenced by the presence or lack of Google Code (which you can tell because Microsoft owns GitHub and that doesn’t meaningfully impact Azure)
Google then sat on the sidelines as GitHub grew to a tens of billions dollar business, and now Google spends billions trying to get more developers on GCP which they could have gotten for free if they still owned the portal to the code all the developers use.
A lot of Google wisdom sounded a lot wiser before we saw how it fully played out.