For open source projects, but it appears to me that the enterprise projects are more BitBucket. This is just my experience, but I can't see how GitHub even competes with Enterprise Support that comes from BitBucket.
I'm also partially basing this on Atlassian's public company market cap and revenue. I believe Atlassian does close to $65M a month in revenue (they did $58M/month in the quarter ending in June)[0]. GitHub I believe does around $15M/month in revenue nowadays[1][2]. They both lose some money. I actually believe around the same amount, $4-7M a month. Jira, Confluence, and potentially something else have to take the bulk of Atlassian's earnings.
Gitlab keeps raising money at pretty high valuations so I'm probably underestimating the industry as a whole anyway and missing some info.
0: https://finance.yahoo.com/news/atlassian-announces-fourth-qu... 1: https://medium.com/@moritzplassnig/github-is-doing-much-bett... 2:
Also none of this has anything to do with up or down time.