Complete the command to see untracked files in your Git repository.
git status [1]The git status --untracked-files=all command shows all untracked files in the repository.
Complete the command to add a new file to the tracked files in Git.
git [1] newfile.txtThe git add command stages new files to be tracked by Git.
Fix the error in the command to remove a file from tracking but keep it locally.
git [1] --cached file.txtThe git rm --cached command removes a file from tracking but leaves it in your local folder.
Fill both blanks to create a command that shows tracked files and ignores untracked files.
git status [1]=[2]
The command git status --untracked-files=no shows only tracked files and hides untracked files.
Fill all three blanks to create a dictionary comprehension that maps tracked files to their sizes if size is greater than 1000 bytes.
file_sizes = [1]: os.path.getsize([2]) for [3] in tracked_files if os.path.getsize([3]) > 1000
Using f as the variable name for files in the comprehension is standard and consistent.