Viewing File Changes in Git
Sometimes you need to see what changes were made to files after the previous indexing. This is done with the diff command:
git diff
Make a file. Write some text to it. Commit the file. Now make changes to the file. Review the changes with the diff command.