how to verify file changes before checkin git code example Example: git show diff in modified file git diff [filename]