Recall & Review
beginner
What does the
git status command show?It shows the current state of the working directory and staging area, including changes to be committed, untracked files, and files with changes not staged for commit.
Click to reveal answer
beginner
What section in
git status output lists files ready to be committed?The section called "Changes to be committed" lists files that have been staged and are ready to be committed.
Click to reveal answer
beginner
What does it mean if a file is listed under "Untracked files" in
git status?It means the file is new and Git is not tracking it yet. You need to add it with
git add to start tracking.Click to reveal answer
beginner
How can
git status help before committing changes?It helps by showing which files are staged, unstaged, or untracked, so you know exactly what will be included in the next commit.
Click to reveal answer
beginner
True or False:
git status changes any files or commits anything.False.
git status only shows information. It does not change files or create commits.Click to reveal answer
What does
git status NOT show?✗ Incorrect
git status shows file states but does not display file contents.
If a file is modified but not staged, where does
git status list it?✗ Incorrect
Modified but unstaged files appear under "Changes not staged for commit".
Which command would you use after
git status to start tracking a new file?✗ Incorrect
git add stages new files for tracking.
What does it mean if
git status shows "nothing to commit, working tree clean"?✗ Incorrect
This message means your working directory matches the last commit with no changes.
Which of these is a safe command to run anytime to check your current Git state?
✗ Incorrect
git status only shows info and does not change anything.
Explain what information
git status provides about your project files.Think about the different file states Git tracks.
You got /4 concepts.
Describe how you would use
git status before making a commit.Consider the steps before saving your changes permanently.
You got /4 concepts.