Cloud Academy

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
Students175
Ratings
4.7/5
star star star star star-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
Environment before
PREVIEW
arrow_forward
Environment after
PREVIEW

About the Author

Students21730
Labs33
Learning paths1

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