Git from Scratch
19mBeginner2022-06-30
Authors

Morten Rand-Hendriksen
Senior Staff Instructor, Speaker, Web Designer, and Software Developer
Course details
Version control—the practice of tracking and managing changes to software code—is one of the most powerful tools a developer can wield. And Git has become the version control system of choice for the modern web. The concepts of Git are not hard to understand, especially for developers, but Git has a language of its own. What is rebasing? What is a detached head? In this beginner-level course, Morten Rand-Hendriksen provides a common-sense translation and breakdown of the terminology of Git, and shows how you can use Git to travel back in time in a way that’s practically science fiction (at least when it comes to code). Morten gives you the base-level knowledge you need to get started with Git, detailing important terminology and functions, and shows how to resolve common issues developers face in version control.
Skills covered
GitVersion ControlDevOps ToolsDevOpsOpen SourceSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Git from Scratch
1. Git Basics
- 02 - Why use version control
- 03 - git init - Initialize a repository
- 04 - .gitignore - Ignore files
- 05 - git add - Add changes
- 06 - git commit - Commit changes to memory
- 07 - git status - Get the current status
2. Branches - Alternate Timelines
- 08 - git branch - Create an alternate timeline
- 09 - HEAD - An introduction
- 10 - git switch - Go to an alternate timeline
- 11 - git checkout - Go to an alternate timeline
- 12 - DETACHED HEAD - An explanation
- 13 - The difference between switch and checkout
3. Changing History
- 14 - git merge - Combine two timelines
- 15 - CONFLICT - How to fix merge conflicts
- 16 - git revert - Undo something
- 17 - git rebase - Move the base of a branch
Related courses
- Build with AI: Generate an API with CI/CD in Claude Code
- Source Code Control in .NET with Git Using SourceTree
- Visual Studio Essential Training
- Visual Studio 2019 Essential Training
- 8 Git Commands You Should Know
- Git Dependency Management with Submodules and Subtrees
- Cloud Native Platform Engineering by Pearson
- Visual Studio 2022: First Look
Related learn paths
- The Top Skills Engineering Professionals Have Right Now
- Software Development Fundamentals
- Getting Started with DevOps
- Learn Vibe Coding: Build Apps with AI-Powered Coding
- Getting Started as an ASP.NET Core Developer
- Explore Web Development with Node.js
- Succeed as a Remote Software Developer
- Become a Full-Stack Web Developer