culTest

    One of the 100 questions in this topic

    How much do you know about Git and Version Control?

    What is a commit in Git?

    Answers

    An error in the code
    A snapshot of the project at a specific momentCorrect
    A comment in the code
    A temporary branch

    A commit in Git is a snapshot of the project at a specific moment, saving the state of all tracked files. Each commit has a unique identifier, SHA-1 hash, along with author, date, and a descriptive message.