Commit and push
A commit is a snapshot on your computer. A push sends those snapshots to GitHub so the rest of the studio can see them.
Work on a branch, not main, unless a maintainer asked you to.
1. See what changed
git status
git diff
status lists files. diff shows the edits.
2. Stage and commit
git add .
git commit -m "Add clone steps to the Git handbook"
git add .stages every change in the current folder. Prefergit add path/to/file.mdwhen you only want some files.- Write a short, imperative subject: “Add…”, “Fix…”, “Document…”.