To use GitHub Copilot Chat, you need an active Copilot subscription. Here’s how to do it:
- On GitHub website, click the Copilot icon at the top right of any page.
- Ask Copilot anything about your code, from explaining functions to suggesting optimizations.
- Select the 'Ask' option.
- Copilot analyzes your workspace context and provides relevant, actionable answers instantly.
- Select your preferred repository.
- Select your preferred AI from the power lists.
- Review suggestions carefully. Copilot is smart, but you're the expert on your codebase.
- Copilot can generate unit tests, refactor code, or even write documentation based on your request.
- Keep conversations going. The copilot remembers the context, so follow-up questions work smoothly.
- You may click the ellipsis icon and click 'Download files' to save your program.
- Access your chat history anytime to revisit previous solutions or continue where you left off.
- The more specific your question, the better the answer. Context is everything.



