Extra lab · not tied to a numbered week
Stop losing your work. That's the whole lab.
Step 1 · make an account
That's it. No settings to configure yet.
The loop
PULL runs the other way: it brings down changes made somewhere else: another machine, a collaborator, an earlier you.
VS Code, labeled
Illustrative recreation of the interface, not a screen capture.
Left: every file, always. Middle: where you type. M = modified, A = added, both waiting to be staged.
Source Control panel
Illustrative recreation of the interface, not a screen capture.
The branch icon in the left rail opens this. Commit saves your message. Sync pulls, then pushes.
Or the terminal, if you prefer typing
Same three steps as the panel: stage, commit, push. Neither way is more correct.
The everyday loop
Copilot is a collaborator, not an author
Copilot suggests.
You decide what stays.
Same question as in Lab 2’s AI coding, now inside the editor instead of a chat window.
When it goes wrong
Practice
Carry this with you
Git doesn't ask if your code is good.
It just remembers what you did.
That part is still yours.