Git flash cards: Freelancer level

60 Git terms at the Freelancer level, as flash cards.

Updated

Terms in this deck

.gitattributes
A file containing Git attribute rules for paths in a repository.
Ancestry path
A revision selection limited to commits that connect chosen descendants to chosen ancestors.
Atomic ref update
A reference change that either completes as one protected operation or does not take effect.
Attribute pattern
The path-matching portion of a Git attributes rule.
Bare repository
A repository with no working tree, commonly used as a shared remote.
Clean filter
A content filter applied when data moves from the working tree toward the object database.
Cone mode
A sparse-checkout mode optimized for selecting whole directory trees.
Copy detection
Git's comparison process for identifying a new path whose content came from an existing path.
Diff driver
A configured rule that changes how Git compares or displays selected files.
Directed acyclic graph
A graph whose links have direction and cannot form a path back to the same starting point.
End-of-line normalization
Storing chosen text files with consistent line endings while allowing configured working-tree endings.
Exclude pathspec
A pathspec that removes matching paths after positive pathspecs have selected candidates.
Fetch refspec
A refspec that controls which remote references are fetched and where they are stored locally.
First-parent history
A view of history that follows only the first parent of each merge commit.
git archive
Creates an archive of files from a selected tree without including repository history.
Git attributes
Per-path settings that control behavior such as text handling, diffs, merges, and export.
Git bundle
A single file that carries Git objects and references for transfer without a live remote connection.
git for-each-ref
Formats and displays references selected from one or more reference namespaces.
git merge-base
Finds best common ancestors between commits.
Git notes
Extra information attached to objects without changing the objects themselves.
git rerere
Records conflict resolutions and can reuse them when the same conflict appears again.
git rev-list
Lists commit objects reachable under selected revision and traversal rules.
git rev-parse
Interprets revision and option syntax and can return object IDs or repository information.
git update-ref
Safely creates, updates, or deletes references while checking expected values when requested.
Histogram diff
A diff algorithm that extends patience-style matching by considering low-occurrence lines.
Linked worktree
An additional worktree connected to the same repository data as another worktree.
Magic pathspec
A pathspec using special controls for matching behavior such as case sensitivity or exclusions.
Mailmap
A file or configuration that maps alternate author identities to preferred names and email addresses.
Main worktree
The original worktree created with a normal repository, rather than one added later.
Merge driver
A configured program or built-in behavior used to merge selected file types.
Minimal diff
A diff mode that spends extra time trying to produce the smallest possible change set.
--mirror clone
A bare clone that maps all references from the source and configures matching mirror updates.
Missing object
An object referenced by repository data but not currently available in the local object database.
Myers diff
Git's default general-purpose algorithm for finding a short edit sequence between file versions.
Namespace
A reference prefix that lets one repository expose separated groups of references.
Negative refspec
A fetch refspec beginning with an exclusion that removes matching references from a broader selection.
Notes ref
A reference whose commits store notes attached to other Git objects.
Partial clone
A clone that can omit selected reachable objects and request them later when needed.
Pathspec
A Git expression that selects paths for a command.
Patience diff
A diff algorithm that anchors on unique lines to make some changes easier to read.
Promisor remote
A remote that promises it can supply objects intentionally omitted from a partial clone.
Push refspec
A refspec that controls which local references update which references on a remote.
Recorded resolution
A conflict resolution saved by rerere for possible reuse.
Refspec
A pattern describing which source references map to which destination references during fetch or push.
Rename detection
Git's comparison process for pairing a deleted path with a sufficiently similar added path.
Replace ref
A reference that tells Git to read one object as a replacement for another object.
Repository mirror
A repository copy configured to reproduce all selected references from another repository.
Revision walk
The process of traversing commits from starting revisions while applying ordering and limiting rules.
Shallow clone
A clone created with only a limited portion of reachable commit history.
Shallow repository
A repository whose history intentionally stops at recorded shallow boundary commits.
Smudge filter
A content filter applied when data moves from the object database into the working tree.
Sparse checkout
A working-tree arrangement that populates only selected paths from the current commit.
Submodule
A repository recorded inside another repository through a path and a specific commit.
Submodule commit
The specific commit of a submodule recorded by its superproject.
Superproject
A repository that records one or more submodules.
Text attribute
An attribute that tells Git whether a path should receive text and line-ending processing.
Topological order
A commit order that avoids showing a parent before any displayed descendant.
Word diff
A diff display that highlights changed words instead of only changed lines.
Working-tree encoding
An attribute describing the character encoding a file should use in the working tree.
Worktree
A checked-out set of repository files associated with its own HEAD and index.

Read them in the glossary