Complete the command to see changes in the working directory compared to the index.
git [1]The git diff command shows the changes in your working directory compared to the index.
Complete the command to see changes only for a specific file named 'app.py'.
git diff [1]Adding the filename after git diff shows changes only for that file.
Fix the error in the command to show staged changes for all files.
git [1] --stagedThe --staged option does not work with git status. To see staged changes, use git diff --staged. But here, the command is incorrect because git status --staged is invalid. The correct command to see staged changes is git diff --staged. So the error is using git status with --staged.
Fill both blanks to show changes between the working directory and the last commit for the file 'README.md'.
git [1] [2] README.md
The command git diff HEAD README.md shows changes in 'README.md' between the working directory and the last commit.
Fill all three blanks to create a command that shows staged changes for all files.
git [1] [2] [3]
The command git diff --staged --cached is redundant but valid to show staged changes. Usually, either --staged or --cached is used with git diff.