git show differences on file code example Example: git show diff in modified file git diff [filename]