Manuals / Version Control (Git) for Non-Engineers / Chapter 2
Build · beginner · ~40 min · Chapter 2 of 3
The happy loop
pull → branch → edit → add → commit → push → pull request.
Branch for the change
Never edit main directly on a team. Name branches like `docs/refund-faq`.
Branch for the changeDrag stickies · tap for tips
Example
git pull
git checkout -b docs/refund-faq
# edit files
git add .
git commit -m "Add refund FAQ"
git push -u origin HEAD
Do this now
Make a tiny edit on a branch and open a PR (or practice on a personal repo).
Was this step clear?
Chapter learning outcomes
Clear these before you leave