how to check the difference between the staging area and commit code example
Example: how to check the difference between the staging area and commit
# diff last commit vs working dir
git diff --color ‹commitID›
# diff last commit vs working dir
git diff --color ‹commitID›