Diff staged or unstaged

git diff # show unstaged but tracked
git diff --cached # show staged
git diff HEAD # show staged and unstaged (till last commit)

git diff --name-only --cached # show file names only