how to watch modified details git code example Example: git show diff in modified file git diff [filename]