how to track changes in file git code example Example: git look at changes to a file $ git log --follow -p -- <file>