Do you consent to that when you sign up for them? Its a microsoft product now and competitors to microsoft probably host their code on microsoft owned github without worry right now. Why start worrying now?
Linux doesn't use github. They use git, not github. The question was if a competitor buys the self hosted github, not whether they use some other git solution.