📊 We use cookies & analytics to improve your experience. Learn more
Latest

GitHub Copilot Mastery — AI Pair Programming That Ships Module 1 · Lesson 1 of 15

0% Exit to course

Module 1 · Foundations — what GitHub Copilot is Lesson 1 of 15

Meet GitHub Copilot — what it is and who makes it

Learning objective

GitHub Copilot is GitHub's coding assistant wired into your editor, your pull requests and your terminal. It is at its best at the work around the code — completing a line you already knew, explaining a function you did not write, and reviewing a change before a human reads it. It is at its weakest at the problem you have not described: it will generate plausible code for a misunderstood task, at speed, with confidence — and knowing both halves is what separates somebody who uses it well from somebody who trusts it blindly.

The concept

GitHub Copilot is a coding assistant wired into your editor, your pull requests and your terminal made by GitHub. The models behind it are a choice of frontier models behind one subscription, selectable per conversation. None of that matters on its own — what matters is that you know what kind of worker you have hired. At the work around the code — completing a line you already knew, explaining a function you did not write, and reviewing a change before a human reads it is the job you hand it. At the problem you have not described: it will generate plausible code for a misunderstood task, at speed, with confidence is the job you keep.

Most people come to a course like this expecting a list of magic words. There is no such list. What there is, is a tool that produces code, tests, explanations and review comments inside the editor you already use, and produces it at a speed no human matches — which means the skill is not in writing the prompt, it is in knowing what a good answer looks like so you can tell the difference.

Here is the first thing to try, worded the way you will word things for the rest of the course:

Read the answer twice. The first read is for the content; the second is for the shape — did it answer the question you asked, or the question it found easiest? That second read is the habit this whole course is built on.

Prompt
Review this function and tell me what is wrong with it, line by line. Do not rewrite it yet — just tell me what breaks and what input breaks it.

Worked example

A review before a rewrite: it forces you to understand the fault instead of accepting a fix you cannot explain.

Your practice task

Open GitHub Copilot, ask it the one question you would normally put to a search engine about your own field, and write down two things: whether the answer was right, and whether it would have taken you longer to find it yourself.

Do this before moving on. Reading a solution teaches the shape of it; typing it teaches you.

Key takeaway

GitHub Copilot is a coding assistant wired into your editor, your pull requests and your terminal made by GitHub.

Create free account or sign in

Almost there

15 lessons left of 15

Finish every lesson to unlock the certificate. Each one ends in a practice task — do them and the final project brief writes itself.