I really have no idea. I work only with small or at most medium sized companies. All of them put their code on a git server they don't own. All of them are concerned about AI companies looking at their code. They hope that at least they won't train their models with their code if they pay.
I think that the reasoning is: they trust the git company (whatever it is) not to sell their code. They are worried that their code goes into a model and somebody else could ask the model "write a service like XYZ" and it will regurgitate their code.