Question: After making some major changes to your code, you are a little nervous about committing. What command would you use to review the commit prior to making it?

  1. git commit --verify
  2. git notes show
  3. git commit preview
  4. git commit --dry-run

Answer: The correct answer of the above question is Option D:git commit --dry-run