hands-on lab

Introduction to Git

Beginner
Up to 2h
270
5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Learn to perform version control with Git.

Git has become the distributed database that facilitates DevOps. Learn to use the world's most popular version control system in this hands-on lab.

Learning Objectives

At the end of this lab, you'll be:

  • Familiar with the core concepts and data structures of Git.
  • Able to:
    • Create an empty repository.
    • Stage and commit changes.
    • Branch, merge, and rebase.
    • Interact with remote branches.
    • Create tags.
    • Instruct Git to ignore files.

Prerequisites:

  • Comfortable using the Linux command line.
  • Familiar with:

Target Audience

  • Software engineers
  • Data engineers
  • DevOps engineers
  • Site reliability engineers

About the author

Students
112,266
Labs
37
Courses
51
Learning paths
58

Ben Lambert is a software engineer and was previously the lead author for DevOps and Microsoft Azure training content at Cloud Academy. His courses and learning paths covered Cloud Ecosystem technologies such as DC/OS, configuration management tools, and containers. As a software engineer, Ben’s experience includes building highly available web and mobile apps. When he’s not building software, he’s hiking, camping, or creating video games.

Covered topics

Lab steps

Git Overview
Configuring Git
Getting Started With Git
Understanding the Index
Exploring Branches
Integrating Changes
Remotes
Tagging Commits
The .gitignore File
Wrapping Up