Atlas · skill

Git

Git is a distributed version-control system that records changes as commits and supports branching, merging and inspection. The competency is preserving an understandable development history, resolving concurrent changes correctly and using repository state deliberately so code, configuration and model-related artifacts can be traced to their revisions.

toolVersion Control

What it is

Git stores snapshots linked through a commit graph. A working tree contains editable files, the index selects changes for the next commit and references name positions in history. Branches are movable references rather than separate complete copies of a project. Merging combines histories; rebasing rewrites a sequence onto a different base. These operations differ in how they preserve identity and ancestry. Git itself is distinct from GitHub, which hosts repositories and adds review and automation. Version control records changes but does not judge whether a change is correct.

What the work involves

A practitioner inspects status and diffs before recording work, groups related changes into coherent commits and writes messages explaining their purpose. They compare branches, review conflicts semantically and use history to investigate regressions. They manage ignored files and avoid treating large datasets or secrets as ordinary source. When collaborating, they choose history operations that respect shared work. The useful result is a patch and history that reviewers can understand and maintainers can use to reproduce or reverse a particular change.

Illustrative example

Two engineers modify a model-serving configuration: one renames an endpoint and the other changes its timeout. Git reports a conflict on the same line. The resolver reads both changes and the caller's code, retains the new endpoint with the intended timeout and runs the service configuration check. A clean textual merge alone would not demonstrate that the combined settings still match the application.

Limits and common mistakes

A successful merge can contain semantic conflicts, while rewriting shared history can disrupt others' references. Committing a file does not preserve external data, environments or hosted model versions automatically. Reverting code may also require corresponding data or infrastructure changes. Inspect the final tree and operation scope before reset, rebase or cleanup. Git proficiency includes understanding what has been recorded and what remains outside the repository.

Prerequisites

No prerequisites.

Related skills

  • → is an instance of: Version Control

Sources and further reading

  • Pro Git

    Explains snapshots, staging, branches, remotes, merging and history manipulation.

Last updated: 2026-10-10