Complete the command to see changes that are staged for commit.
git diff [1]The git diff --cached command shows the differences between the staged changes and the last commit.
Complete the command to view staged changes using the alternative option.
git diff [1]--staged is an alternative to --cached to show staged changes.
Fix the error in the command to correctly show staged changes.
git diff --[1]The correct option is --cached. --stage is invalid (--staged is a valid alternative).
Fill both blanks to create a command that shows staged changes for a specific file.
git diff [1] [2]
Use git diff --cached README.md to see staged changes for the file README.md.
Fill both blanks to create a command that shows staged changes with word diff for a file.
git diff [1] --word-diff [2]
The command git diff --cached --word-diff main.py shows staged changes with word-level differences for main.py.