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?

  1. There were two copies of beta-notes.js but one was deleted
  2. beta-notes.js was staged, then modified afterwards, creating two different versions of the file
  3. Two copies of beta-notes.js were created, but only one is being tracked
  4. 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