check git diff --cached