how to check history of a file in git code example
Example 1: git search history for file
git log --all --full-history -- "**/thefile.*"
Example 2: git log for specific file
git log -p filename
Example 3: git file history
git log --follow -p -- path-to-file
Example 4: git look at changes to a file
$ git log --follow -p -- <file>