I have these two git commands
git diff-index --cached --name-status HEAD
and
git diff --cached --name-status
I can't see the difference between them. I've been experimenting with adding and modifying and deleting files on my branch and running these commands but they seem to be giving me the same results.