Overview
Git organizes work into a sequence of locations: the working directory, the staging area, the local repository, and, when collaboration or remote access is needed, the remote repository.
Understanding these locations is the foundation for understanding Git commands. Each command moves information between specific parts of the workflow.