Question: how to use git diff?
Answer: Type the following command to add the changes to the staging area: git add ., Once everything is done. ... , This will open up the notepad to enter the commit message. ... , Execute git diff command to see the changes., To use the option, type the command: git diff –color-words.