Git Foundations Hands-On Walkthrough
Overview
Git is a distributed source control management (SCM) tool. This walkthrough is a series of practical, hands-on exercises to familiarize you with the use of Git and assumes you understand some Git use cases, terminology, and file areas (working, staging, & HEAD). If you need some quick and dirty Git background information, check out these resources:
- Version Control 101 — WWT Video (16 minutes)
- WWT Programmability Foundations Lab — Version Control Section
What You Need
-
A Windows or macOS computer with Docker Desktop.
-
If you are new to Docker, here is the Docker Desktop Installation Documentation.
-
Alternatively, you can install Docker in a Linux Environment and complete the walkthrough.
-
An account on github.com.
-
Your favorite terminal/shell program (iTerm, PowerShell, Bash, etc.).
Contents
- Hands-On Environment Setup
- Setup GitHub Authentication
- Create a GitHub Repository
- Create a New Branch in a GitHub Repository
- Clone a GitHub Repository to Your Computer
- View & Configure Local Git Settings on Your Computer
- Manage Local Git Branches
- Make Local Git Repository Changes
- Make Local Git Repository Changes With Atomic Commits
- Review Changes in the GitHub Repository
- Pull/Merge Changes in GitHub
- Review The Pull Request Impact to Your Local Git Repository
- Clone Another Repository, Make Changes, and Create a New Pull Request
Get Started
That's all there is to it! Click this link to get started: Next Section > Hands-On Environment Setup