Git is a version control system for tracking changes in code. In previous labs, you learned how to use both commits and branches in Git. Commits and branches are two of the most useful features in Git, but they're only a part of what Git has to offer. Companies also use Git because of the ability to combine features like commits and branches with workflow management principals like remotes (remote repositories holding the same codebase your local one does) and the ability to undo things like commits. Combined, all these resources begin to make Git the incredibly useful tool it is for version control management.
In this lab, you'll practice working with multiple remotes to show the distributed nature of Git. You'll also use Git to undo a commit.
Upon completion of this lab you will be able to:
This lab is intended for:
You should be familiar with:
March 12th, 2023 - Resolved an issue that caused the lab to fail to set up on rare occasions
May 23rd, 2022 - Updated the lab to use Cloud Academy's hosted web terminal
March 24th, 2022 - Updated screenshots to match UI
July 20th, 2021 - Updated the lab infrastructure to reduce the time needed to connect to the Git Host instance
May 12th, 2020 - Updated the lab infrastructure to enforce a more accurate startup time
Matt has worked for multiple Fortune 500 companies as a DevOps Engineer and Solutions Architect. He is an AWS Certified DevOps Engineer - Professional, and an AWS Certified Solution Architect - Associate. He enjoys reading and learning new technologies.