git list all file in staging code example Example: git show staged files git diff --name-only --cached