1
How to compare a local file in Working Directory to an existing file in a remote repository, for example Github?
I need to identify changes made to a local file compared to the version on Github. I haven’t executed the command yet git add about this file, therefore it is still in the Working Directory.
git diff
doesn’t work?– Felipe Avelar
Try to execute the answer in the following question:
 http://stackoverflow.com/a/1800787/3797668
– Daniel