Skip to main content

Course

Git and GitHub

Git and GitHubPart 1 of 6 · Chapter 3 of 3

The Working Tree, the Index, and the Repository

The staging area is the one part of Git nobody explains, and it is the reason git add exists as a separate step from git commit. Move one file through all three places and watch which commands touch which.


Make a free account to read on

Every chapter is free — an account lets your course progress follow you from your laptop to your phone. No payment, no trial.