QuestenaÜben und erkennen, was als Nächstes dran ist
Frage 4

In Git's data model, what is a branch?

  1. A complete copy of the project's files kept in a separate directory
  2. A lightweight movable pointer (reference) to a commitRichtige Antwort
  3. A tag that permanently marks a release commit
  4. A separate clone of the repository stored on the server

Erklärung

A branch is just a named reference to a commit, stored as a tiny reference in the repository's ref storage (a loose file under .git/refs/heads/, an entry in packed-refs, or a reftable record); it moves forward automatically as you make new commits on it. Nothing is copied — all branches share the same object store. A tag also points to a commit but is not meant to move, which is the key difference from a branch.

Mit diesem Test weitermachen

Übung starten
Frage 4: In Git's data model, what is a branch? · Git Fundamentals · Questena