1) Comparison of work area and temporary storage area
git diff
2) Comparison between temporary storage area and HEAD
git diff --cached
3) Workspace and HEAD comparison
git diff HEAD
1) Comparison of work area and temporary storage area
git diff
2) Comparison between temporary storage area and HEAD
git diff --cached
3) Workspace and HEAD comparison
git diff HEAD