QuestenaPráctica que te muestra qué repasar después
Pregunta 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 commitRespuesta correcta
  3. A tag that permanently marks a release commit
  4. A separate clone of the repository stored on the server

Explicación

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.

Continúa con este test

Empezar la práctica
Pregunta 4: In Git's data model, what is a branch? · Git Fundamentals · Questena