how to see the staged files in git code example Example: git show staged files git diff --name-only --cached