Stage and HEAD


working copy -> (git add) index -> (git commit) -> HEAD

$ git diff

$ git diff --staged

$ git diff HEAD