Bitzu

GH-900 ยท Automation and AI-assisted development

What can GitHub Copilot do, and where?

Code completion, Copilot Chat, explaining and generating code, and where Copilot can be used (editor, GitHub.com, CLI).

Key points

  • Copilot is an AI assistant for developers.
  • It offers inline code completion while you type, and Copilot Chat for asking questions, explaining code and generating code.
  • You can use it in supported editors (IDEs), on GitHub.com, in GitHub Mobile and from the command line with Copilot CLI.
  • Always review its output before you accept it.

Source: https://docs.github.com/en/copilot/get-started/plans

Practice questions

Single choice

Which Copilot feature suggests code as you type in the editor?

  1. Inline code completion
  2. A GitHub Actions runner
  3. A dev container
  4. The Marketplace search
Show answer

Answer: A. Inline code completion

Inline suggestions (code completion) appear while you type. Chat is a conversation, and Actions and Codespaces are different products.

Select all that apply

Where can you use Copilot Chat?

  1. In supported IDEs
  2. On GitHub.com
  3. In GitHub Mobile
  4. Inside the plain git commit command
  5. In the GitHub Actions runner image only
Show answer

Answer: A. In supported IDEs, B. On GitHub.com, C. In GitHub Mobile

Chat is available in IDEs, on GitHub.com and in GitHub Mobile (among others). It is not a feature of the Git command-line client itself or of a printer driver.

True or false

True or false: Copilot works only inside a code editor.

Show answer

Answer: False

False. Besides editors, Copilot Chat is available on GitHub.com and in GitHub Mobile, and Copilot CLI works in the terminal.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More GH-900 topics in this module