git show staged file changes code example Example 1: git show staged files git diff --name-only --cached Example 2: git check staged changes git diff --cached