Associate certification · GH-300
GH-300: GitHub Copilot
Use GitHub Copilot well and safely: inline suggestions, chat, agent mode, the Copilot CLI, MCP, custom instructions, code review, prompts, data flow, policies and content exclusions. No GitHub account needed.
- Free
- Intermediate friendly
- 30 lessons
- 150 questions
- No GitHub account needed
Updated November 2026 · Follows the skills outline as of August 7, 2026 · English
MSDEVBUILD · Multi-Stack Dev Build
What you'll learn
- Explain the risks and limits of generative AI and how to use Copilot responsibly
- Validate Copilot output with review, tests and scanning before it ships
- Set up Copilot in VS Code and other IDEs and use inline suggestions, chat, Edit and Agent mode
- Use Copilot Chat slash commands, participants, context variables and the model picker
- Install and use GitHub Copilot CLI: sessions, -p, tool permissions, scripts and files
- Add MCP servers, use sub-agents and delegate work to Copilot coding agent
- Write repository and path-specific custom instructions and reusable prompt files
- Use Copilot code review, pull request summaries, Copilot Spaces and Spark
- Configure organization policies, read the audit log and manage seats with the REST API
- Describe how Copilot builds prompts, filters requests and responses, and handles your data
- Write effective prompts with the right context, zero-shot and few-shot examples
- Generate, refactor, document and test code, and spot security and performance problems
- Configure content exclusions and the public code filter, and troubleshoot missing suggestions
About this course
GH-300 is the GitHub Copilot certification exam. Microsoft delivers it and GitHub maintains it, and it checks that you can use Copilot to write better code faster without giving up quality, security or privacy. It covers the editor, github.com and the terminal, plus what an organization admin controls.
This course follows the official skills outline topic by topic. Every lesson starts with a 30-second answer, then lets you try the idea in a VS Code and GitHub walkthrough, a 3D scene and a practice lab in a simulated terminal with Copilot CLI, git and gh. A quiz closes each lesson. Copilot’s answers in the simulations are scripted examples, so nothing leaves your browser.
The lessons follow the official skills outline in order, and the mock exam is weighted the same way as the real one.
Requirements
- Basic GitHub: repositories, branches, commits and pull requests
- Some experience with at least one programming language (the examples use JavaScript)
- No GitHub account or Copilot subscription: every walkthrough and lab is a simulation in your browser
- Optional: Visual Studio Code, to try things for real afterwards
Who this course is for
Developers using Copilot
You already press Tab on suggestions and want to use chat, agent mode and the CLI properly, and pass the exam.
Tech leads and reviewers
You need to know what Copilot does with code, how to review its output and how to set team standards with instructions files.
Org admins and platform teams
You roll out Copilot and need plans, seats, policies, content exclusions, the audit log and the REST API.
Students and career changers
You want a recognised AI developer-tool certification. Basic GitHub and one programming language are enough to start.
Course curriculum
Every lesson has the same flow: a 30-second answer, simulations (3D view, VS Code and GitHub and practice lab), the explanation, an exam tip and a quiz.
6 domains · 30 lessons · 150 practice questions
Domain 1: Responsible AI
Know what generative AI gets wrong, which harms it can cause and how to reduce them, and why every Copilot suggestion is a draft you review, test and own before it ships.
- Generative AI Risks and Limitations Learn why GitHub Copilot can suggest wrong, invented, insecure or outdated code, where those limits come from, and how to spot each one before it ships.
- Responsible AI: Principles, Harms and Mitigations Learn Microsoft's six responsible AI principles, the harms AI coding tools can cause and the mitigations that match each harm when your team uses Copilot.
- Validate Copilot Output and Use It Responsibly Learn why every Copilot suggestion needs checking and how to validate it with review, tests, linting and code scanning, plus habits for responsible daily use.
Domain 2: Copilot Features
Turn Copilot on in your editor and use inline suggestions, chat, agent mode and the Copilot CLI. Add MCP tools, custom instructions and prompt files, let Copilot review pull requests, and manage plans, policies, audit logs and seats for an organization.
- GitHub Copilot Plans: Free, Pro, Business and Enterprise Compare Copilot Free, Pro, Pro+, Business and Enterprise, see who buys each plan, how seats and policies work and how premium requests and budgets are billed.
- Set Up GitHub Copilot in Your IDE Install the GitHub Copilot Chat extension in VS Code, sign in with a Copilot plan or seat, read the status bar and turn suggestions on or off per language.
- Inline Suggestions, Chat, Edit and Agent Mode Learn every way to trigger GitHub Copilot in VS Code, from ghost text and inline chat to the Chat view's Ask, Edit and Agent modes, with the keys to use.
- Copilot Chat: Slash Commands, Participants and Limits Use Copilot Chat's slash commands, @ participants, # context, the model picker, feedback and prompt files, and know the limits behind wrong answers.
- GitHub Copilot CLI: Install and Key Commands What GitHub Copilot CLI is, how to install it with npm, Homebrew, WinGet or the script, sign in, trust a folder and use slash commands, @files and !commands.
- Copilot CLI Sessions, Scripts and Files Use GitHub Copilot CLI interactively or with copilot -p, control tools with --allow-tool and --deny-tool, resume sessions, and generate scripts you review.
- Agent Mode, MCP Servers and Sub-Agents See how Copilot agent mode plans, edits, runs commands and iterates, how Copilot Edits differs, how MCP servers add tools, and why sub-agents save context.
- Custom Instructions and Prompt Files Write .github/copilot-instructions.md, path-specific .instructions.md files with applyTo and reusable .prompt.md files you run with /name in Copilot Chat.
- Copilot Code Review on Pull Requests Request Copilot as a pull request reviewer, turn on automatic reviews with rulesets, commit its suggested changes and set review standards with instructions.
- Copilot Spaces, Spark and Pull Request Summaries Write pull request descriptions with Copilot, ground answers in shared Copilot Spaces and build micro apps with GitHub Spark, and know which one fits.
- Copilot Policies for Organizations and Enterprises Assign Copilot seats, switch features on or off for IDEs, github.com and the CLI, enable code review, choose models and see how enterprise policies win.
- Audit Log Events and Managing Seats with the REST API Find Copilot events in the audit log with action:copilot, list seats with last_activity_at, and add or cancel seats for users and teams with the REST API.
Domain 3: Data & Architecture
Follow a suggestion from your keystroke to your screen: what context Copilot collects, how the prompt is built, what the proxy filters before and after the model, what data is kept, and where large language models still fall short.
- How Copilot Handles Your Data Follow your code from the IDE to the Copilot proxy, the model and back, and learn what Copilot Business and Enterprise keep, share and never train on.
- How Copilot Builds a Prompt from Context See which context GitHub Copilot gathers for inline suggestions and chat, how it fits a limited context window, and how to check the references it used.
- Proxy Filtering and Post-Processing Learn what the GitHub Copilot proxy checks before a prompt reaches the model and what post-processing filters remove before a suggestion reaches you.
- The Code Suggestion Lifecycle and LLM Limits Follow a GitHub Copilot suggestion from keystroke to ghost text, learn the keys to accept or cycle it, and know where large language models fall short.
Domain 4: Prompt Engineering
Write prompts Copilot can act on: a clear goal, the right context and examples, small steps, and a chat history that helps instead of confusing. Know zero-shot from few-shot and when each one wins.
- Prompt Structure and Context for Copilot Write Copilot prompts with a clear goal, the right context and constraints, and learn how Copilot decides context from files, selections,
- Zero-Shot and Few-Shot Prompting When a plain instruction (zero-shot) is enough, and when two or three examples (few-shot) make GitHub Copilot follow your exact format. Plus prompt tips.
- Prompt Engineering Principles and Chat History The principles behind good Copilot prompts, how a chat prompt flows to the model and back, and how chat history helps follow-ups or drags answers off topic.
Domain 5: Productivity
Use Copilot for the everyday work: write, refactor and document code, learn an unfamiliar codebase, generate sample data, modernize legacy code, write unit and integration tests with real edge cases, and spot security and performance problems.
- Generate, Refactor and Document Code Use GitHub Copilot to write code from comments, refactor in Edit mode with a reviewed diff, add docs with /doc, and learn new code without leaving your editor.
- Sample Data and Modernizing Legacy Code Use GitHub Copilot to create clearly fake test data, explain old code before touching it, and modernize legacy code in small, tested steps with the same output.
- Unit Tests, Integration Tests and Edge Cases Generate unit and integration tests with GitHub Copilot, name the edge cases that matter, write strong assertions, and treat a failing test as a clue.
- Security Improvements and Performance Fixes Use GitHub Copilot Chat to find SQL injection, hard-coded secrets and N+1 queries, ask for fixes, and back every change with tests and code scanning.
Domain 6: Privacy & Safeguards
Keep sensitive files away from Copilot with content exclusions, set editor settings, know who owns the output, block or reference suggestions that match public code, and fix the usual reasons Copilot stops suggesting.
- Content Exclusions and Editor Settings Exclude files and paths from GitHub Copilot at repository, organization and enterprise level, know what exclusions cover, and set per-language editor settings.
- Who Owns Copilot Output, and Its Limits Learn who owns code that GitHub Copilot suggests, who is responsible for it, how code references and IP terms fit in, and the limits every suggestion has.
- Public Code Matching: Block or Show References Set the GitHub Copilot policy for suggestions matching public code to Block or Allow, read code references with licences, and know who sets the policy.
- Troubleshoot Suggestions and Content Exclusions Fix GitHub Copilot when it stops suggesting. Check sign-in and seat, excluded files, language settings, the public code filter, proxies, the extension and logs.
How you'll learn
Ten ways to learn and check yourself, all free and all inside your browser.
-
Step-by-step lessons
Each lesson opens with a 30-second answer, then a story, a plain explanation, a business scenario and when not to use it. Beginner view hides the deep parts until you want them.
Open the lessons: Step-by-step lessons -
Topic-wise practice questions
Original exam-style questions grouped by topic and domain. Smart practice brings back the ones you miss until they stick, and gives you a readiness score.
Start practising: Topic-wise practice questions -
Interactive quizzes
A short quiz closes every lesson. You see why each option is right or wrong straight away, and a good score marks the lesson complete.
Try a lesson quiz: Interactive quizzes -
Hands-on practice labs
Guided tasks in a practice terminal with GitHub Copilot CLI, git and gh, each step ticked off as you go: install, permissions, instructions, tests, MCP and seats.
Open the labs: Hands-on practice labs -
VS Code and GitHub simulation
Walk through simplified VS Code and github.com screens with Copilot: ghost text, Chat modes, agent mode, settings, policies and pull request reviews. For education only.
Open the sandbox: VS Code and GitHub simulation -
Copilot CLI terminal
Type real Copilot CLI, git and gh commands in a practice terminal. Copilot’s answers are scripted examples, so nothing leaves your browser.
Type your first command: Copilot CLI terminal -
3D Copilot explorer
Follow a prompt from your keystroke to a suggestion, watch filters and policies act, and see Ask, Edit, Agent and the coding agent work, all in 3D with text steps beside it.
Explore in 3D: 3D Copilot explorer -
Mock examinations
A timed exam room weighted like the real exam, with mark-for-review, a review grid and a score report by domain. Pass it to earn the practice certificate.
Take a mock exam: Mock examinations -
Interview preparation
Beginner to architect-level questions with model answers and the follow-ups interviewers really ask, so the exam turns into job conversations.
Practise interviews: Interview preparation -
Learning resources
Printable cheat sheets, flashcards, a glossary, service comparisons, a study plan with calendar reminders and an exam day guide.
Browse resources: Learning resources
Exam domains
Microsoft weights the exam by domain. Spend your time in roughly the same proportion.
Use GitHub Copilot responsibly
Know what generative AI gets wrong, which harms it can cause and how to reduce them, and why every Copilot suggestion is a draft you review, test and own before it ships.
3 of 3 tutorials published
Use GitHub Copilot features
Turn Copilot on in your editor and use inline suggestions, chat, agent mode and the Copilot CLI. Add MCP tools, custom instructions and prompt files, let Copilot review pull requests, and manage plans, policies, audit logs and seats for an organization.
12 of 12 tutorials published
Understand GitHub Copilot data and architecture
Follow a suggestion from your keystroke to your screen: what context Copilot collects, how the prompt is built, what the proxy filters before and after the model, what data is kept, and where large language models still fall short.
4 of 4 tutorials published
Apply prompt engineering and context crafting
Write prompts Copilot can act on: a clear goal, the right context and examples, small steps, and a chat history that helps instead of confusing. Know zero-shot from few-shot and when each one wins.
3 of 3 tutorials published
Improve developer productivity with GitHub Copilot
Use Copilot for the everyday work: write, refactor and document code, learn an unfamiliar codebase, generate sample data, modernize legacy code, write unit and integration tests with real edge cases, and spot security and performance problems.
4 of 4 tutorials published
Configure privacy, content exclusions, and safeguards
Keep sensitive files away from Copilot with content exclusions, set editor settings, know who owns the output, block or reference suggestions that match public code, and fix the usual reasons Copilot stops suggesting.
4 of 4 tutorials published
Preparation roadmap
A four-week plan at about 20 minutes a day. Want one built around your exam date? Use the study plan.
Week 1: Responsible use and setup
Generative AI risks, responsible AI, validating output, plans, setting up the IDE, inline suggestions, chat and modes.
Week 2: Chat, CLI and agents
Chat commands and limits, Copilot CLI install, sessions, scripts and permissions, agent mode, MCP and sub-agents.
Week 3: Team features and admin
Custom instructions and prompt files, code review, PR summaries, Spaces and Spark, policies, audit log and seats API.
Week 4: How it works, prompts, productivity and safeguards
Data flow, prompt building, filters, the suggestion lifecycle, prompt engineering, tests, security, content exclusions and the public code filter.
Exam week: Mock exams and revision
Take full mock exams until you score 80% or more twice, read the cheat sheet and the exam day guide, then book.
Recommended learning sequence
- Step 1Read the lessonStart with the 30-second answer, then the story and explanation.
- Step 2Feel itUse the 3D view, the VS Code and GitHub walkthrough and the lab in the lesson.
- Step 3Pass the quizScore 75% or more and the lesson is marked complete.
- Step 4Fix weak spotsSmart practice brings back what you missed.
- Step 5Sit mock examsAim for 80% twice in a row before you book.
- Step 6Get interview readyTurn what you know into answers for real jobs.
Pass with a plan
Lessons teach it. These make it stick, and they're all free.
Study plan
Pick your exam date and daily time. Get a day-by-day plan with calendar reminders.
Smart practice
Your readiness score by domain. Questions you miss come back until you get them right.
Cheat sheet
One printable page per domain, plus the last 30 minutes before the exam. You can listen to it too.
Exam day guide
Booking, free voucher routes, the online check-in checklist and the retake rules.
Exam objectives: the complete official syllabus
Every objective Microsoft lists, with the tutorials that teach it. Topics marked “coming next” are being written. We do not publish empty pages. Topics marked “beyond the exam” are not in the current outline but come up in real projects and interviews.
Understand responsible AI principles
-
1.1.1 Describe risks and limitations of Generative AI tools
-
1.1.2 Describe ethical and responsible AI usage
-
1.1.3 Identify potential harms and mitigation strategies of AI usage
Validate and operate AI tools
-
1.2.1 Explain the need to validate AI output
-
1.2.2 Identify how to operate GitHub Copilot responsibly
Use GitHub Copilot in the IDE
-
2.1.1 Enable Copilot in the IDE
GitHub Copilot Plans: Free, Pro, Business and EnterpriseSet Up GitHub Copilot in Your IDE
-
2.1.2 Trigger Copilot through inline suggestions, chat, CLI, and agent mode
-
2.1.3 Configure content exclusions for specific files or repositories (app knowledge)
Use GitHub Copilot CLI
-
2.2.1 Define GitHub Copilot CLI and how it benefits developers
-
2.2.2 Identify the steps for installing GitHub Copilot CLI
-
2.2.3 Describe key GitHub Copilot CLI features and commands
-
2.2.4 Use GitHub Copilot CLI interactively and in sessions
-
2.2.5 Generate scripts and manage files with GitHub Copilot CLI
Use GitHub Copilot features and capabilities
-
2.3.1 Use Agent Mode, Copilot Edits, and MCP for enhanced development and workflows; manage Agent Sessions and delegate tasks to Sub-Agents for optimized context usage
-
2.3.2 Use Copilot for code review and coding assistance
-
2.3.3 Use Spaces, Spark, Pull Request summaries, and customizable review standards via instructions files
Custom Instructions and Prompt FilesCopilot Code Review on Pull RequestsCopilot Spaces, Spark and Pull Request Summaries
-
2.3.4 Understand the limits, options, feedback, and commands of GitHub Copilot Chat; include prompt file reuse for consistent responses
Copilot Chat: Slash Commands, Participants and LimitsCustom Instructions and Prompt Files
Manage organization-wide settings and policies
-
2.4.1 Configure organization-wide policy management; enable Copilot Code Review policies and manage feature availability across IDEs and github.com
GitHub Copilot Plans: Free, Pro, Business and EnterpriseCopilot Policies for Organizations and Enterprises
-
2.4.2 Use audit log events
-
2.4.3 Manage subscriptions using the REST API
Describe data handling and flow
-
3.1.1 Explain data usage, flow, and sharing
-
3.1.2 Describe input processing and prompt building
-
3.1.3 Explain proxy filtering and post-processing
Understand lifecycle and limitations
-
3.2.1 Visualize code suggestion lifecycle
-
3.2.2 Describe limitations of LLMs and Copilot
Craft effective prompts
-
4.1.1 Describe prompt structure and context
-
4.1.2 Understand how context is determined
-
4.1.3 Use zero-shot and few-shot prompting
-
4.1.4 Apply best practices for prompt crafting
Engineer prompts for performance
-
4.2.1 Explain prompt engineering principles
-
4.2.2 Describe prompt process flow and chat history usage
Enhance productivity and code quality
-
5.1.1 Use Copilot for code generation, refactoring, and documentation
-
5.1.2 Accelerate learning and reduce context switching
-
5.1.3 Generate sample data and modernize legacy code
Support testing and security
-
5.2.1 Generate unit and integration tests
-
5.2.2 Identify edge cases and write assertions
-
5.2.3 Suggest security improvements and performance optimizations
Manage privacy settings and exclusions
-
6.1.1 Configure content exclusions and editor settings
-
6.1.2 Describe ownership and limitations of outputs
Apply safeguards and troubleshoot
-
6.2.1 Enable suggestions matching public code filtering
-
6.2.2 Resolve issues with suggestions and content exclusions
Frequently asked questions
Who runs the GH-300 exam?
Microsoft delivers it through Microsoft Learn and Pearson VUE, and GitHub maintains the exam and the certification. A score of 700 or more passes, and GitHub certifications are valid for two years.
Is this GH-300 course free?
Yes. Every lesson, simulation, lab, quiz, mock exam and the practice certificate is free. Signing in is optional and only syncs your progress.
Do I need a GitHub Copilot subscription?
Not for this course. The VS Code and GitHub walkthroughs, the 3D scenes and the Copilot CLI terminal are simulations. To try Copilot for real afterwards, Copilot Free is enough for most of the IDE features.
Which IDE does the course use?
Visual Studio Code, because most exam examples use it. The ideas carry over to Visual Studio, JetBrains IDEs, Xcode and the others, and the lessons point out where they differ.
Are these real GH-300 exam questions?
No. Every question here is original and written to practise the skills in the official outline. We never publish real, recalled or leaked exam questions.
Is the practice certificate a GitHub certification?
No. It is an MSDEVBUILD practice certificate that shows you passed our mock exam. To become certified you sit GH-300 through Microsoft Learn.
GH-300 discussion
Questions about the course or the exam, tips that helped you pass, or a lesson you'd like added. Sign in with GitHub to post, reply or react. Be kind, and please don't post real exam questions: they get removed.
Ready when you are
Lesson 1 takes about ten minutes. Your progress is saved in this browser as you go.