how to check the contents of the modified files on git code example Example: git show diff in modified file git diff [filename]