Using Git for Version Control: Top 10 Git Commands

Lab Steps

lock
Logging in to the Amazon Web Services Console
lock
Connecting to a Git Host
lock
Working With Git Stash, Pop and Blame
lock
Working With Git Diff, Reset, Checkout and Branch
lock
Working With Git Log, Show and Tag

The hands-on lab is part of this learning path

Ready for the real environment experience?

DifficultyIntermediate
Time Limit45m
Students446
Ratings
3.5/5
starstarstarstar-halfstar-border

Description

Git is a version control system for managing and tracking changes in code. In previous labs, you learned how to use commits, branches, and other tools to manage workflows. Developers also use other tools in Git and some are more commonly used and apply to a wider range of scenarios than others.

In this lab, you'll work a subjective list of top 10 Git commands. These commands will cover a wide range of use cases and with them, you'll be equipped to efficiently manage workflows like an expert. To give you the most benefit, this lab won't cover some of the most basic or common commands, such as clone, push, pull and merge. While those are certainly among the most used and useful commands, they're common enough you probably won't have any issues remembering them. 

Lab Objectives

Upon completion of this lab you will be able to:

  • Be a more effective Git user

Intended Audience

This lab is intended for:

  • Developers
  • Cloud professionals
  • Anyone interested in using code

Prerequisites

You should be familiar with:

  • The previous lab on Git commits
  • The previous lab on Git branches
  • The previous lab on managing Git workflows
  • Basic understanding of the AWS Console is helpful but not required

Updates

May 12th, 2020 - Updated the provisioning block to enforce a more accurate startup time

Environment before
PREVIEW
arrow_forward
Environment after
PREVIEW

About the Author

Students27669
Labs43
Learning paths1

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.

Covered Topics