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