# Prompting and context for GitHub Copilot

Get more relevant responses from GitHub Copilot by writing effective prompts and providing useful context.

## Links

* [Prompt engineering for GitHub Copilot](/en/copilot/concepts/prompting-and-context/prompt-engineering)

  Follow these strategies to improve your Copilot results.

* [Managing context for GitHub Copilot](/en/copilot/concepts/prompting-and-context/context-management)

  Understand how Copilot manages conversation context, what happens during long sessions, and how to stay in control of your context window.

* [Custom instructions for GitHub Copilot](/en/copilot/concepts/prompting-and-context/custom-instructions)

  Customize GitHub Copilot responses to your preferences, project conventions, and organization requirements.

* [Prompt files for GitHub Copilot](/en/copilot/concepts/prompting-and-context/prompt-files)

  Save task-specific instructions and context in reusable Markdown prompt files for individual Copilot interactions.

* [Indexing repositories for GitHub Copilot](/en/copilot/concepts/prompting-and-context/repository-indexing)

  Copilot improves responses by indexing your repositories.

* [About GitHub Copilot Spaces](/en/copilot/concepts/prompting-and-context/spaces)

  Understand how organizing and sharing context with Copilot Spaces can improve your Copilot Chat in GitHub results and help your collaborators.

* [About GitHub Copilot Memory](/en/copilot/concepts/prompting-and-context/copilot-memory)

  Copilot Memory helps Copilot become more effective over time by remembering facts about your repositories and your personal coding preferences.