git check history of specific file code example
Example 1: git log for specific file
git log -p filename
Example 2: git file history
git log --follow -p -- path-to-file
git log -p filename
git log --follow -p -- path-to-file