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.
Branches as parallel lines of work card 2 of 6

A branch is a sticky note on a commit

builds on: Git commits as snapshots you can return to
Your commits form a chain, each pointing back to the one before. A **branch** is just a name that points at one commit, like a movable sticky note. `main` is simply the first branch. A new branch copies no files. It is one more note. When you commit, the note for the branch you are on moves forward to the new commit. Switching branches rewrites your project files to match the commit that branch points to. Files git was never asked to save are left where they are.
Terms on this card
branch
A named pointer to one commit. It moves forward each time you commit while on it, so it marks the tip of a line of work.
`main`
The usual name of the first, default branch in a repository. Some older projects call it `master`.
commit
A saved snapshot of the whole project with a message, which you can return to later.
git
A tool that records versions of a project's files over time. Its data lives in the hidden `.git` folder.
Learn this step by step on Bytewise
Lesson goal: Explain a branch as a movable pointer to a line of commits. Create one for an experiment, switch between branches, and merge or delete it depending on how the experiment went. · the whole lesson