Overview
Many Git mistakes are location mistakes. A learner may believe a change is safely saved when it exists only in the working directory, or may believe it is on GitHub when it has only been committed locally.
The four-location model removes that ambiguity. Before running a command, ask two questions:
- Where is the change now?
- Where should it move next?