The irony is that GitHub Copilot is based on the same technologies as ChatGPT, so it's the same foundation, it's just that ChatGPT cover every type of conversation. Microsoft, and thus GitHub, are heavily involve in OpenAI/ChatGPT