Sources

S1 — Pro Git, About Version Control

URL: https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control.html

  • authority: official-docs
  • supports: Definition of version control and why it matters.
  • key-fact: "Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later."

S2 — Pro Git, What is Git?

URL: https://git-scm.com/book/en/v2/Getting-Started-What-is-Git%3F

  • authority: official-docs
  • supports: The three main states of files in Git: modified, staged, and committed.
  • key-fact: "Git has three main states that your files can reside in: modified, staged, and committed."

S3 — Pro Git, Getting a Git Repository

URL: https://git-scm.com/book/en/v2/Git-Basics-Getting-a-Git-Repository

  • authority: official-docs
  • supports: How to initialize a Git repository with git init and the .git directory.
  • key-fact: "You can take a local directory that is currently not under version control, and turn it into a Git repository... This creates a new subdirectory named .git that contains all of your necessary repository files."

S4 — Pro Git, Recording Changes to the Repository

URL: https://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository

  • authority: official-docs
  • supports: git add, git commit, git status, and the staging area.
  • key-fact: "To begin tracking a new file, you use the command git add... Now that your staging area is set up the way you want it, you can commit your changes... git commit."

S5 — Pro Git, Basic Branching and Merging

URL: https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging

  • authority: official-docs
  • supports: Branches, git switch, and git merge.
  • key-fact: "To create a new branch and switch to it at the same time, you can run the git checkout command with the -b switch... You can run your tests... and finally merge the hotfix branch back into your master branch."

S6 — Git User Manual

URL: https://git.github.io/htmldocs/user-manual.html

  • authority: official-docs
  • supports: How to recover an old version of a file with git restore.
  • key-fact: "In the process of undoing a previous bad change, you may find it useful to check out an older version of a particular file using git-restore(1). The command git restore --source=HEAD^ path/to/file replaces path/to/file by the contents it had in the commit HEAD^."

S7 — gittutorial Documentation

URL: https://git-scm.com/docs/gittutorial

  • authority: official-docs
  • supports: The staging area as the "index" and the basic commit workflow.
  • key-fact: "This snapshot is now stored in a temporary staging area which Git calls the 'index'. You can permanently store the contents of the index in the repository with git commit."

S8 — Git Reference, Basic Snapshotting

URL: https://git.github.io/git-reference/basic/

  • authority: authoritative-guide
  • supports: The snapshot workflow and the staging area as a complement to official docs.
  • key-fact: "Git is all about composing and saving snapshots of your project and then working with and comparing those snapshots... An important concept here is that Git has an 'index', which acts as sort of a staging area for your snapshot."

S9 — Atlassian Git Glossary

URL: https://www.atlassian.com/git/glossary

  • authority: authoritative-guide
  • supports: Term definitions for repository, commit, and branch.
  • key-fact: "git init — Initializes a new Git repository. If you want to place a project under revision control, this is the first command you need to learn."