Using Git for Version Control: Branching

Lab Steps

lock
Logging in to the Amazon Web Services Console
lock
Connecting to a Git Host
lock
Using Git to Clone a GitHub Repository
lock
Learning About Git Branches
lock
Managing Git Branch Workflows

The hands-on lab is part of this learning path

Ready for the real environment experience?

DifficultyBeginner
Time Limit45m
Students733
Ratings
4.7/5
starstarstarstarstar-half

Description

Git is a version control system for tracking changes in code. In a previous lab, you learned about how Git handles changes in files by categorizing its tracked files into unmodified, modified or staged files. Another main tool that Git offers is branching. Branching in Git allows you to diverge from the main branch, or version, of a git repository, and make any changes you need without fear of affecting the main branch until you're ready. This branching feature is one of the most useful and widely regarded features of Git. Companies and developers use the branching feature of Git to safely introduce new features and fix errors in their code.

In this lab, you'll practice using Git safely make changes to a codebase. You'll use Git branching to edit code without fear of impacting your master code until you're ready.

Lab Objectives

Upon completion of this lab you will be able to:

  • Understand the branching strategies of Git
  • Use Git to branch and merge
  • Apply branching strategies in your own codebases

Intended Audience

This lab is intended for:

  • Developers
  • Cloud professionals
  • Anyone interested in using code

Prerequisites

You should be familiar with:

  • Our previous lab on Git commits
  • 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
Students30566
Labs42
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