git log search for changes in a file code example
Example 1: git log for specific file
git log -p filename
Example 2: git look at changes to a file
$ git log --follow -p -- <file>
git log -p filename
$ git log --follow -p -- <file>