Get oriented
The big picture
Your site lives in three places, and the agent works in only one of them. Once you see how they connect, the rest of the guide makes sense.
Three places your project lives
- The working copy. The copy the agent actually edits. On the VS Code path it's a folder on your computer. On the app path it's a fresh copy in the cloud, made for each session. Nothing here reaches GitHub until it's pushed.
- Your repository on GitHub. The official copy of your site's files, plus the history of every saved change. It lives at
github.com/your-username/your-repo. - The live website. GitHub Pages builds it from your repository and serves it at
https://your-username.github.io/your-repo/. Changes can take up to 10 minutes to show after a push. You switch Pages on yourself, once, in your repo's settings on github.com. The agent edits files, not your repo's settings, so this one is yours. Turn on GitHub Pages shows how.
Four words move changes between them. You'll rarely type them yourself; you'll ask the agent.
| Word | What it does |
|---|---|
| Clone | Makes a working copy of a repository. |
| Pull | Brings the working copy up to date with GitHub. |
| Commit | Saves a snapshot of your changes, with a short note. |
| Push | Sends your commits up to GitHub. |
How the agent works
You ask
Type or say what you want in plain words, and name the repo it should work in.
It reads and plans
It reads the files in the working copy and works out what to change. On a big job, ask to see the plan before it starts.
It does the work
It edits files and runs commands in that working copy. It may stop and ask permission before a command or a risky step. Read the request before you approve it.
You check, then save
Look at what changed. When you're happy, tell it to save the work to GitHub:
Say thisCommit and push to main.
Once GitHub Pages is on, your live site updates too. Commit & push covers this step in detail.
What it can see, and what it remembers
- Only what you give it. It works in the folder you opened in VS Code, or the repos you picked in the app. It doesn't see the rest of your computer unless you allow it.
- Don't count on it remembering. It doesn't carry your conversations into a new session. On your computer, Claude Code keeps a few short notes of its own, but what reliably carries over is the repo: its files, its history and a rules file. Claude reads
CLAUDE.mdat the start of every session, and Codex readsAGENTS.md. Put standing rules there, such as who to commit as or "never invent facts". Commit as yourself shows one.
Saved only in this browser.