GitHub Copilot Exercises

The following quickstart exercises are designed to provide you with a hands-on learning experience in which you’ll explore the capabilities of GitHub Copilot. Each exercise includes a set of tasks that you can complete in your lab environment.

Quickstart exercises


Prepare - Configure your lab environment for GitHub Copilot exercises

Review lab requirements and configure resources before starting GitHub Copilot exercises.


Prepare - Enable GitHub Copilot in Visual Studio Code

Complete the steps required to enable GitHub Copilot in Visual Studio Code.


Exercise - Examine GitHub Copilot settings and user interface features

Learn how to configure GitHub Copilot settings and how to access GitHub Copilot features in Visual Studio Code.


Exercise - Analyze and document code using GitHub Copilot

Learn how to analyze new or unfamiliar code and how to generate documentation using GitHub Copilot in Visual Studio Code.


Exercise - Develop new code features using GitHub Copilot

Learn how to accelerate the development of new code features using GitHub Copilot in Visual Studio Code.


Exercise - Develop unit tests using GitHub Copilot

Learn how to accelerate the development of unit tests using GitHub in Visual Studio Code.


Exercise - Refactor existing code using GitHub Copilot

Learn how to refactor and improve existing code sections using GitHub Copilot in Visual Studio Code.


Exercise - Get started with vibe coding using GitHub Copilot Agent

Learn how to create a prototype app using a vibe coding process and GitHub Copilot Agent.