git check file changes code example
Example 1: git look at changes to a file
$ git log --follow -p -- <file>
Example 2: how to see which file git recognizes
git ls-tree -r master --name-only
$ git log --follow -p -- <file>
git ls-tree -r master --name-only