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 6 of 6

Remember

builds on: Terminal basics: where you are and running things
A commit is a permanent snapshot of every tracked file in your project, built from what you staged with `git add`. Commit right before an agent starts. Whatever it then does to those files, you can return to that exact state, as long as `.git` survives.
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.
`.git`
Hidden folder inside the project root where git stores all commits and settings. Deleting it deletes the history.
commit
A saved, unchangeable snapshot of all tracked files in a repository, with a message, author, time and unique id.
`git add`
Command that copies a file's current contents into the staging area. `git add .` does this for every change in the current folder and below.
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.
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