Git basics
Git is a distributed code versioning system. A repository is what stores the code, which is revised by changes known as commits. Each repository can configure remotes, which help synchronize code between repositories by fetching code from one repository to another. Remotes communicate via HTTPS with basic authentication credentials or the SSH protocol, which can leverage SSH keys. There is significant documentation on the internet on generating SSH keys and configuring SSH in Git that changes, based on operating systems and hosted Git platforms. Repositories maintain branches that help maintain a series of commits that relate to a change. Code in a branch is often merged into a main branch, which serves as a baseline for code to be accepted into a repository.
SaaS vendors have helped make Git more ubiquitous. Vendors such as GitHub and GitLab run managed Git repositories with a UI and various complementary features. It is common for a Drupal application to manage code...