For CoPilot, you need a language model, where the current best one is made by OpenAI, which doesn't like to share its stuff.
This is the same OpenAI, which got $1B from Microsoft, and gave commercial licenses to Microsoft to use GPT-3.
Which is the company which also owns GitHub, and also has a platform like Azure, so it can just "lend" GPT-3 and some servers to train the said model on some code, which GitHub clearly has possession of.
So, while they're different, and it's casually owned by the other, this ownership allows them to put one's code and other's GPT-3 access into "good" use.
At the end of the day, public code is public, so license doesn't matter, eh?*
*: CoPilot is trained on all public code containing GPL, AGPL and similar licenses which doesn't allow proprietary use, so it's another ball of hair.
For CoPilot, you need a language model, where the current best one is made by OpenAI, which doesn't like to share its stuff.
This is the same OpenAI, which got $1B from Microsoft, and gave commercial licenses to Microsoft to use GPT-3.
Which is the company which also owns GitHub, and also has a platform like Azure, so it can just "lend" GPT-3 and some servers to train the said model on some code, which GitHub clearly has possession of.
So, while they're different, and it's casually owned by the other, this ownership allows them to put one's code and other's GPT-3 access into "good" use.
At the end of the day, public code is public, so license doesn't matter, eh?*
*: CoPilot is trained on all public code containing GPL, AGPL and similar licenses which doesn't allow proprietary use, so it's another ball of hair.