Git

A free, open-source distributed version control system that records the history of a project as a chain of snapshots.

In more detail

Git was created in 2005 for Linux kernel development and is now the default version control tool for open source and industry. Every clone holds the whole history, content is named by its hash, and a branch is just a pointer, which makes history fast and branching cheap. You use it through the git command followed by a subcommand, such as git status or git commit.

Examples

Design token files and component code live in Git; pipelines rebuild every platform's output on each commit.
This course reads Git history as data: tags mark deployments, commit dates give lead times and trailers record remediations.
git --version
git init
git add .
git commit -m "First working version"
Git keeps every committed version, so deleting a file in a later commit leaves the old content reachable, as git show HEAD~1:config.env proves in the course.
In Terraform: Terraform configuration lives in Git repositories like any other code. After cloning a repository you must run terraform init, because the downloaded plugins are not committed. The lock file belongs in Git; the .terraform directory and state files do not.

Related terms

Taught in

References

Certification courses