git get list of stagesd files code example Example: git show staged files git diff --name-only --cached