From Zero to Hero: Git

Learn how to use Git, the industry standard for version control

About This Course

Git was released in 2005, and in the past 20 years, it's become a must-know tool for every single software developer out there. Originally created by Linux creator Linus Torvalds, it made it possible for distributed, non-linear workflows to all come harmoniously together into a single codebase, and it skyrocketed the productivity of small and big teams. Git is also a requirement for jobs at any seniority level, and every junior developer is expected to know how to use it effectively. In this course, Scott Sauber will assume no knowledge of Git and version control, and he will teach you not only everything you need to know to master Git but also show you how to deal with problems when Git goes wrong.

Course Curriculum

3h 23m 10 sections
Welcome
01:16 Free preview
What will you learn in this course?
02:14 Free preview
Who is the course for and prerequisites
01:37 Free preview
Why version control?
02:29
Centralized version control vs distributed version control
07:38
Section recap
00:23
What is git?
02:00
Let’s install git
05:43
Let’s configure git
02:10
Section recap
00:14
Creating a repository and our first commit
09:51
Interacting with history
17:44
The .gitignore file
04:59
Section recap
00:43
Branching fundamentals
13:44
Oh shoot! I committed to the wrong branch!
03:52
Do’s and Dont’s about branching
06:10
Section recap
00:37
What is GitHub?
03:00
GitHub account setup
10:34
Creating a new repo in GitHub
07:19
Pushing changes to GitHub
05:13
Pulling changes from GitHub
04:34
Pull Requests
09:57
Merging strategies
09:22
Pulling down another repo
09:34
GitHub settings to consider
10:30
Section recap
01:28
Git alias 101
03:55
My aliases with Bash/Zsh
05:04
How my typical workflow looks
10:31
Section recap
00:33
Commits, Blobs, and Trees
03:09
.git folder
07:45
Section recap
00:32
Dangit, git!
02:15
Merge conflicts
06:37
My files won’t add!
01:58
Reflog
02:04
I committed to the wrong branch!
02:04
Section recap
01:11
Conclusion
00:47

Meet Your Instructor

Scott Sauber

Scott Sauber

Scott is a software consultant and primarily does web development using ASP.NET Core and JavaScript. His second passion behind web development is helping teams realize their potential through technical practices (such as CI/CD, IAC, TDD, etc.) and working more effectively (such as limiting WIP, visualizing work, etc). He’s a Microsoft MVP, Redgate Community Ambassador, international speaker, and co-organizes the Iowa .NET User Group. You can find Scott on Twitter @scottsauber or on his blog at scottsauber.com.

View all courses by Scott Sauber

What's New

Deep Dive: Solution Architecture
course

Deep Dive: Solution Architecture

Master solution architecture and turn business needs into scalable, maintainable systems.

Learn More
Migrating: ASP.NET Web APIs to ASP.NET Core
course

Migrating: ASP.NET Web APIs to ASP.NET Core

A step-by-step process to migrate ASP.NET Web APIs from .NET Framework to ASP.NET Core.

Learn More
Getting Started: Caching in .NET
course

Getting Started: Caching in .NET

Let's make the hardest thing in programming easy for .NET software engineers.

Learn More
From Zero to Hero: Testing with xUnit in C#
course

From Zero to Hero: Testing with xUnit in C#

Learn how to test any codebase in .NET with the latest version of xUnit, the industry-standard testing library.

Learn More
Create a ChatGPT Console AI Chatbot in C#
blog

Create a ChatGPT Console AI Chatbot in C#

This walkthrough is your hands-on entry point to create a basic C# console application that talks to ChatGPT using the OpenAI API.

Learn More