Extra lab · not tied to a numbered week

VS Code & GitHub

Stop losing your work. That's the whole lab.

Step 1 · make an account

github.com → Sign up username, email, password → verify the email

The loop

EDIT → SAVE → STAGE → COMMIT → PUSH

VS Code, labeled

Illustrative recreation of the interface, not a screen capture.

Explorer
index.html
style.css M
trail-mix.html
new-post.html A
index.html · your-project
<h1>Hello</h1>

Source Control panel

Illustrative recreation of the interface, not a screen capture.

Source Control
style.css M
new-post.html A
Changes (2)
describe what changed, briefly
✓ Commit⟳ Sync

Or the terminal, if you prefer typing

git add . git commit -m "describe what changed, briefly" git push

The everyday loop

Copilot is a collaborator, not an author

Copilot suggests.
You decide what stays.

When it goes wrong

Merge conflict

  • Read both versions. Keep what you want. Commit.

Forgot to pull

  • Pull now. If it complains, commit first, then pull.

Committed something huge

  • Stop. Ask before you force anything.

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.

VS Code & GitHub for Creatives
1 /