how to see the changes made in a file in git code example
Example 1: git look at changes to a file
$ git log --follow -p -- <file>
Example 2: git show diff in modified file
git diff [filename]
$ git log --follow -p -- <file>
git diff [filename]