Git Basics: Init, Stage & Commit
See what happens behind every command.
Start from zero
Start with an empty folder on your computer. Turn on Git tracking, write a pancake recipe, and create your first saved version. Everything in this lesson stays on your computer.
- 01
Turn an ordinary folder into a Git repository.
- 02
See the difference between editing, selecting changes, and saving.
- 03
Create your first commit and watch its circle appear.
You will have one saved recipe and understand how you created it.
An empty folder on your computer. No recipe file, saved versions, or GitHub connection yet.
Each lesson starts from this setup so you can replay it independently.Follow the buttons or try commands yourself. Finish with two recap questions.
Starting point: an empty folderRecipe analogy & setup
Type a command or choose a quick command. Your simulated history stays here when you switch tabs.
More quick commands
mainClick a commit to inspectGitHub hosts your online copy. Teamwork is a separate path.
