how to check changes in staged file git code example Example: git check staged changes git diff --cached