Question: After checking your git status you get the following output, which shows the file beta-notes.js in the commit but also unstaged. How can this situation occur?
- There were two copies of beta-notes.js but one was deleted
- beta-notes.js was staged, then modified afterwards, creating two different versions of the file
- Two copies of beta-notes.js were created, but only one is being tracked
- There are two tracked copies of beta-notes.js, but one was removed from the commit
Answer: The correct answer of the above question is Option B:beta-notes.js was staged, then modified afterwards, creating two different versions of the file