Glossary
10 terms from "Git fundamentals: commits, history, and branches." Look them up when you get stuck; the first mention in the text carries a hover definition.
| Term | Definition | Source |
|---|---|---|
| version control | A system that records changes to files over time so that specific versions can be recalled later. | git-scm.com |
| repository | A folder where Git has been asked to keep a history of commits. | git-scm.com |
| commit | A saved snapshot of a project at a specific moment, including a message describing the change. | git-scm.com |
| working directory | The ordinary files you see and edit in a repository folder. | git-scm.com |
| staging area | A temporary holding spot in Git for changes that will be included in the next commit. | git-scm.com |
| HEAD | A pointer to the commit currently being viewed in a repository. | git-scm.com |
| branch | An independent line of development inside a repository, allowing parallel work without disturbing the main line. | git-scm.com |
| merge | The process of bringing changes from one branch into another. | git-scm.com |
| commit hash | A unique identifier generated by Git for each commit, used to select a specific version. | git-scm.com |
| restore | A Git command that copies a file from a previous commit into the working directory. | git.github.io |