What are the differences between the following git commands?
git diff HEADgit diff HEAD^git diff --cachedor the synonymgit diff --stagedgit diff
What are the differences between the following git commands?
git diff HEADgit diff HEAD^git diff --cached or the synonym git diff --stagedgit diff