Git basics: save your work without fear
A beginner-friendly intro to git: why version control exists, clone, commit, push, and the few commands you actually need first.
Syllabus
Online course
Prefer a guided cohort with live sessions and feedback? Join the paid online course for this topic.
Ask to join online coursePaid enrolment · fee confirmed before you start
What you will learn
Why teams use git, and the smallest set of commands that let you save and share work safely.
Why bother
Without version control, “final_v3_really_final.zip” becomes normal. Git keeps a history of changes so you can undo mistakes, compare versions and work with other people on the same project.
Core ideas
- Repository — the project folder plus its history
- Commit — a snapshot you choose to keep, with a short note
- Branch — a line of work (start with
main) - Remote — a copy on a host like GitHub
Commands to practise first
git status— what changed?git add .— stage changes for the next commitgit commit -m "Explain the change"git push— send commits to the remotegit pull— bring remote changes down
Habit that saves you
Commit often with honest messages. Small commits are easier to understand — and easier to undo — than one giant dump at the end of the week.