Problem Statement
What is the Git Index (staging area) and why does Git use it?
Explanation
The Index is a middle layer between your working tree and the repository. You choose exactly which changes to include in the next snapshot (commit), enabling partial commits and clean, reviewable history.
Practice Sets
This question appears in the following practice sets:
