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