git see what changes were made to a file code example Example: git show diff in modified file git diff [filename]