Here's what bitbucket says:
>Subject to the terms of this Agreement, you hereby grant to Atlassian a non-exclusive, worldwide, royalty-free right to (a) collect, use, copy, store, transmit, modify and create derivative works of Your Data, in each case solely to the extent necessary to provide the applicable Hosted Service to you and (b) for Hosted Services that enable you to share Your Data or interact with other people....
Only "in connection with rendering the Website and providing the Service", i.e. they can display it in the web UI and syntax highlight it and whatnot.
Isn't there a (theoretical) concern for someone hosting GPL'd frameworks/servers/etc. on GitHub, that GitHub might want to use to replace or build their services?
This is the wording that concerns me most, because the Service is defined as:
> The “Service” refers to the applications, software, products, and services provided by GitHub.
Thus, GitHub could legally use this to use any software hosted by them, so long as it entered their stack at some point.
Contrived example:
They could use a modified Linux kernel at the bottom of their stack, and refuse to give anyone access to the source. Breaching the AGPL, but it doesn't apply. Simply because the Linux kernel is mirrored on GitHub.
Sure, if they wanted to risk billions of dollars of valuation for no good reason. After such a thing was discovered, how long do you think folks would continue hosting their private proprietary projects there?
Doesn't change the fact that the wording is troubling.
The idea that they'd want to save a few thousand bucks by stealing someone's proprietary code to run Github.com itself is simply silly - it'd risk their reportedly multi-billion dollar valuation.