(Disclosure, I worked at GitHub at one point)
> Github is a great example in saas area. Utterly trivial for most customers to switch away or self host. They have no moat so they can't really jack prices.
I'm not sure I agree with this. It may be true for single developer code hosting, but GitHub as a business is much more than just that.
GitHub makes money off three things, only one of which is the "core" code hosting business and two of which have solid moats:
- GitHub Enterprise {Cloud, Server}
- Actions (Azure compute minutes)
- Advanced Security (code scanning, secret scanning, etc.)
For customers operating in this environment, it's _extremely difficult_ to move because the latter features are built in to their business process (e.g. a compliance requirement that there are no known vulnerabilities dictates the use of GHAS, and they've already gotten signed off so switching to a different provider requires going through a more stringent audit in the future). GitHub doesn't have to raise prices, they just slowly add new functionality that boosts the usage of Actions, GHAS, etc. which both provide actual benefit to those customer segments and increase revenue (and eventually get new, larger customers on board).
That large scale usage also offsets the cost for their free tiers, which in turn keeps the single developers hosting their code on GitHub. Even though it's fairly easy for them to move their repos elsewhere, the halo of other features plus the community (which is really the asset) keeps developers on the platform.