Github gives you until April 24 to opt out of using your Copilot interactions for model training. The setting is at the bottom of https://github.com/settings/copilot/features: Allow GitHub to use my data for AI model training.
... and then move your code to @forgejo / #Codeberg, like @fedora just did.