history of a file in git gui code example Example: git file history git log --follow -p -- path-to-file