hands-on lab

Introduction to Git

Difficulty: Beginner
Duration: Up to 2 hours and 30 minutes
Students: 403
Rating: 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

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