Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Git from Scratch

via LinkedIn Learning

Overview

Learn how to use version control in Git, starting from scratch.

Syllabus

Introduction
  • Git from Scratch
1. Git Basics
  • Why use version control?
  • git init: Initialize a repository
  • .gitignore: Ignore files
  • git add: Add changes
  • git commit: Commit changes to memory
  • git status: Get the current status
2. Branches: Alternate Timelines
  • git branch: Create an alternate timeline
  • HEAD: An introduction
  • git switch: Go to an alternate timeline
  • git checkout: Go to an alternate timeline
  • DETACHED HEAD: An explanation
  • The difference between switch and checkout
3. Changing History
  • git merge: Combine two timelines
  • CONFLICT: How to fix merge conflicts
  • git revert: Undo something
  • git rebase: Move the base of a branch

Taught by

Morten Rand-Hendriksen

Reviews

4.7 rating at LinkedIn Learning based on 1252 ratings

Start your review of Git from Scratch

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.