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