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