# Display changes that are not staged yet
$ git diff myfile.txt

# Display changes in the index (added by git add)
$ git diff --cached myfile.txt
