Question: Why would the following command be used?

  1. To run a comparative search of the last 10 commits for differences
  2. To list the last 10 commits and modify them with either the squash or fixup command
  3. To delete the last 10 commits and reset the HEAD
  4. In order to locally cache the last 10 commits

Answer: The correct answer of the above question is Option B:To list the last 10 commits and modify them with either the squash or fixup command