Lesson 1 of 5 · 2 min
What a commit is
Git keeps snapshots of your project. Each commit records the files, who made it, a message and the commit before it. That chain is your history, and it lets you try things without fear.
git init git status git add app.py README.md git commit -m "Add the first working version" git log --oneline
Add files by name. Adding everything at once is how private files slip in.
