📞 0339-0387701 (WhatsApp) Contact

« Back to Software Engineering (NCCIA)

What is a commit in version control?

A. Deleting a repository
B. Downloading a file
C. Saving a snapshot of changes with a message describing them ✅
D. Creating a new user

Correct Answer: C. Saving a snapshot of changes with a message describing them

Explanation

  • A commit creates a versioned snapshot in the repository history
  • Good messages explain why the change was made.