GitHub is apparently going to start using your data for model training unless you intentionally opt out of it: https://github.blog/news-insights/company-news/updates-to-github-copilot-interaction-data-usage-policy/

It looks like this is mostly just limited to interactions with Copilot itself, but I'd turn it off anyway just to be safe...

@livingshredder but that's only if you are using copilot. But if I remember correctly, last year there was also some stuff about them just stealing all the code from all repos, so: https://giveupgithub.com (at least for all projects you manage / can decide, for contributing there is often no alternative if the project is exclusively on GitHub).
Give Up GitHub - Software Freedom Conservancy

The Software Freedom Conservancy provides a non-profit home and services to Free, Libre and Open Source Software (FLOSS) projects.

@derrockwolf @livingshredder Agreed, moving out of GH is probably the best option. Any public code is just going to get used to train models (since when have the AI companies cared about IP), and anything “private” on GH is still public to MS (who has heavily invested into OpenAI).

Really the only solution at this point is to host on places where it can’t be search indexed or scraped.