git see file hstory code example
Example 1: git file history
git log --follow -p -- path-to-file
Example 2: git look at changes to a file
$ git log --follow -p -- <file>
git log --follow -p -- path-to-file
$ git log --follow -p -- <file>