Using Git for Version Control: Managing Workflows

Lab Steps

Logging in to the Amazon Web Services Console
Connecting to a Git Host
Cloning a Git Repository
Working With Remotes in Git
Undoing Changes in Git

Ready for the real environment experience?

Time Limit45m
star star star star star


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.

Lab Objectives

Upon completion of this lab you will be able to:

  • Gain a better understanding of workflow management with Git
  • Work with multiple remotes
  • Undo bad commits

Intended Audience

This lab is intended for:

  • Developers
  • Cloud professionals
  • Anyone interested in using code


You should be familiar with:

  • Our previous lab on Git commits
  • Our previous lab on Git branches
  • Basic understanding of the AWS Console is helpful but not required
Environment before
Environment after

About the Author

Matt has worked for multiple Fortune 500 companies as a DevOps Engineer and Solutions Architect. He is an AWS Certified Solution Architect - Associate, AWS Certified SysOps Administrator - Associate and an AWS Certified Developer - Associate. He enjoys reading and learning new technologies.

Covered Topics