three areas

Git's model of where a change can be: the working tree on disk, the staging area waiting for the next commit, and the repository of recorded commits.

In more detail

git add copies from the working tree to the staging area, git commit records the staging area as a new commit in the repository, and git status reports the differences between all three. Most confusion about Git clears up once you ask which of the three areas a command changes.

Related terms

Taught in

References