The issue with Github is that they never denied feeding ai with private repositories. Gitlab, on the contrary, issued an official statement that they don't.
EDIT: here is one statement from Gitlab https://forum.gitlab.com/t/can-i-opt-out-from-my-code-being-...
I thinl I also saw another one