Domain 1: Intro to GitHub - Deck 1 Flashcards
Version Control System (VCS)
A program or set of programs that tracks changes to a collectionc of files.
One goal of a VCS is to easily recall earlier versions of individual files or of the entire project. Another goal is to allow several team members to work on a project, even on the same files, at the same time without affecting each other’s work.
Software Configuration Management (SCM)
A term used interchangeably with Version Control System (VCS), though technically VCS is just one of the practices involved in SCM.
Distributed Architecture (Git)
A project’s complete history is stored both on the client and on the server.
Working Tree
The set of nested directories and files that contain the project that’s being worked on.
Repository (Repo)
The directory, located at the top level of a working tree, where Git keeps all the history and metadata for a project.
Bare Repository
A repository that isn’t part of a working tree; it’s used for sharing or backup. It is usually a directory with a name that ends in .git.
Blob Object
An object which contains an ordinary file.
Hash
A number produced by a function that represents the contents of a file or another object as a fixed number of digits. Git uses ones that are 160 bits long. One advantage to using them is that Git can tell whether a file has changed by applying the function to its contents and comparing the result to the previous function output.
Tree Object
An object which represents a directory; it contains names, hashes, and permissions.
Commit Object
An object which represents a specific version of the working tree.
Object
A Git repository contains four types of these, each uniquely identified by an SHA-1 hash. They are blob, tree, commit, and tag.
Tag Object
An object which is a name attached to a commit.
Commit
When used as a verb, it means to make its associative object. This action takes its name from a database operation. It is an action taken so that others can eventually see your changes, too.
code: to initialize a git repository
git init
The ______ is a hidden directory where Git operates.
repository