Go from never having used a coding agent to working productively and safely with one. The learner should understand what an agent is and how it differs from a chat assistant. They should choose a tool, set up a protected first project, describe tasks the agent can do well, and follow and verify its work. They should recover from bad changes, manage context, and plan bigger changes. They should also use tests as the definition of done and run everyday workflows (bug fixes, features, writing tests, codebase exploration, scripts, small tools, refactors). Throughout, they should keep secrets and systems safe and keep their own understanding growing instead of outsourcing it.
Git commits as snapshots you can return to card 3 of 6

Staging area: choosing what goes in the photo

builds on: Terminal basics: where you are and running things
A snapshot takes two steps: 1. `git add <file>` copies the file's current contents into the **staging area**, the draft of the next commit. `git add .` stages every change in the current folder and below. 2. `git commit -m "<message>"` saves the snapshot. A tracked file you changed but didn't add keeps its *previous* version in the new commit. A new file you never added is not in it at all.
Terms on this card
git
A program that records the history of a project folder as a series of saved snapshots you can look at or return to.
commit
A saved, unchangeable snapshot of all tracked files in a repository, with a message, author, time and unique id.
staging area
git's draft of the next commit: the file versions you've chosen with `git add` to go into the next snapshot.
tracked file
A file that is in the last commit or has been staged with `git add`. git includes it in every new snapshot. New files stay untracked until added.
git add
Command that stages changes, marking them to go into the next commit.
Learn this step by step on Bytewise
Lesson goal: Explain a repository, the staging area and a commit as a saved snapshot of the whole project with a message. Explain why a recent commit works as an undo button for anything an agent does afterwards. · the whole lesson