The TOS do say users grant GitHub a license to host, copy, and distribute works as comes up while they're providing the GitHub service. So saving copies on servers, making backups, and "distributing" it via their website.
IANAL, but I think Copilot is not a reasonable thing to include in these services.
IANAL, but I think Copilot is not a reasonable thing to include in these services.