Module 4 · About 75 minutes
ReadyGitHub as your filing cabinet
You have a private GitHub repository, set up and tested end to end, with a README that explains what lives where.
Lesson 4.1 · 10 min
What GitHub is for
Notion holds what your companion knows. GitHub holds the files that shape how it works: your brief, your prompts, small scripts and the website you may build in Module 5. Every change is saved, so you can always go back.
Lesson 4.2 · 15 min
Create an account and a private repo
- Sign up at github.com and verify your email.
- Click New repository and name it "my-companion".
- Choose Private, so only you can see it.
- Tick "Add a README file" and create the repository.
Lesson 4.3 · 15 min
Add your first files
- In the repository, click Add file, then Create new file.
- Name it "brief.md" and paste the companion brief from Module 1.
- Add a second file called "memory-prompt.md" with the setup prompt from Module 3.
- Commit each file with a short message such as "Add companion brief".
Lesson 4.4 · 10 min
Rules for what goes in
Never commit
- Passwords, API keys or access tokens.
- Bank, card or ID details.
- Health records.
- Other people's private information.
Lesson 4.5 · 10 min
Write the README
Your README is the front page of the repository. A good one fits on a screen.
- What this companion is for, in one line.
- What each file is.
- Where the memory lives (Notion, Companion HQ).
- What must never be stored.
Lesson 4.6 · 10 min
Test it end to end
Ask your assistant a question that needs the brief, and check that its answer matches what you wrote. Here is what a good result looks like.
You: What is my role for you? Companion: I am your study buddy. I keep track of what you have covered and what is shaky, and I keep my answers short.
Lesson 4.7 · 5 min
Next steps
With the brief on GitHub and the memory in Notion, you are ready to put a front door on it. Module 5 shows how to publish a small personal page with Vercel.
Checkpoint: you are done when...
- A private repository called "my-companion" exists.
- brief.md and memory-prompt.md are committed.
- The README explains each file and where memory lives.
- You have checked nothing sensitive is in the repository.
Common mistakes
- Leaving the repository public by accident. Check the label beside the name.
- Committing a key "temporarily". It stays in the history.
- Skipping the README, then forgetting what each file does.