GitHub Copilot is the AI coding tool we use this year. You will use it to translate your client app for Chromebooks. This page gets you a free student account and gets Copilot onto your Mac. It takes about fifteen minutes, plus a few days of waiting for GitHub.
1. Apply for GitHub Education
Use the GitHub account you already use for class. GitHub can take a few days to approve you, so apply as soon as you can.
-
Find your proof of enrolment. In Edsby Messages, find the screenshot I sent you. It shows that you are enrolled at Lakefield College School and in this course. Save it to your Mac.
-
Add your billing information. Open GitHub’s payment information page. Fill in your name exactly as it appears in the screenshot, and the school’s address:
- Lakefield College School
- 4391 County Road 29
- Lakefield, ON K0L 2H0
- Canada
You do not pay anything. GitHub checks that this name and address match your proof of enrolment.
-
Set the name on your profile. On GitHub, click your profile picture at the top right, then choose Settings. The Public profile page opens. In the Name box, type your name exactly as it appears in the screenshot, then click Update profile at the bottom of the page.
-
Apply. Open GitHub’s education benefits page and click the green Start an application button. Fill in the form, choosing Lakefield College School as your school. When it asks for proof that you are a student, upload the screenshot from Edsby.
When you are approved, GitHub emails you, and your Copilot settings show the Copilot Student plan.
2. Install Homebrew, then Copilot CLI
Homebrew installs command-line tools on a Mac. You install it once, and you need it again later for the PDF steps in AP Create Task.
-
Open Terminal. Copy this line, paste it, and press Return:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" -
When it asks for your password, type your Mac password and press Return. Nothing appears as you type; that is normal. Press Return again when it asks you to.
-
When it finishes, it shows a heading, Next steps, with two or three commands. Copy those commands, exactly as shown, paste them, and press Return.
-
Quit Terminal and open it again. Type
brew --versionand press Return. It should print a version number.
Then install Copilot CLI by following the official instructions for macOS: Installing GitHub Copilot CLI. Use the Homebrew command on that page.
When the install finishes, quit Terminal and open it again before you go on.
3. Sign in
In Terminal, type copilot and press Return. Then type /login and press Return. It opens your browser so that you can sign in to GitHub. Sign in with your class account, then return to Terminal.
4. Check that it works
In a new Terminal window, type:
copilot --versionIt should print a version number. If it says command not found, bring the exact message to me.
Then type copilot, press Return, and ask it: What folder are you in? If it answers, you are ready. Type /exit to leave.
Rules for every prompt
What you type into Copilot, and the files you let it read, leave your Mac and are processed on GitHub’s computers and those of the AI companies it works with. So:
- No personal information about real people. No names, no photographs, no details about a classmate, a teacher, or anyone in a school’s data.
- Nothing about your clients. Not their names, ages or school, and nothing they told you about themselves. In a prompt, a client is “a Grade 4 or 5 student”, and nothing more.
- Understand what you keep. On the AP Exam, you explain your own list and your own procedure with no AI beside you. If Copilot helps you with them, make sure you can explain every line.
Every time Copilot helps with a file, say so in that file’s comment header, and in your project’s README, as in Acknowledging AI in Your Code.