Commits and Commit History Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Version Control Fundamentals

What you'll be asked

  1. What is the primary purpose of a commit in Git?
  2. Which command is used to view the commit history of the current branch?
  3. Why is it considered a best practice to write descriptive commit messages?
  4. If you have made changes to a file but have not yet run 'git add', where do those changes currently reside in the Git workflow?
  5. You want to modify the message of the most recent commit because you made a typo. Which command should you use?

Answers and explanations come after you submit.