QuestionAnswerYou can show changes that have been staged with the --cached flag:$ git diff --cached In more recent versions of git, you can also use the --staged flag (--staged is a synonym for --cached):$ git diff --staged How to list all commits that changed a specific file?Git symbolic links in Windows