Problem Statement
Differentiate between working tree, index (staging area), and HEAD.
Explanation
Working tree = your files on disk; index = staged snapshot for the next commit; HEAD = pointer to the last commit of the current branch. Most history edits move HEAD; file-level fixes move working tree or index.
Practice Sets
This question appears in the following practice sets:
