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

Treehouse

Introduction to Git Course (How To)

via Treehouse

Overview

Git is a version control system - it helps you manage the different versions of your project files, and helps keep your work safe. This course will show you how Git works, and how to upload your projects to GitHub.

What you'll learn

  • Repositories
  • Commits
  • History
  • GitHub

Syllabus

First Commits

We'll show you what Git repositories are and how they work. Then we'll help you make your first commits.

Chevron 10 steps
  • Introduction

    4:31

  • Git Overview

    6:00

  • Git Concepts

    6 questions

  • Initializing a Repository

    4:13

  • First Commits

    9:00

  • First Commits

    4 objectives

  • Staging Changed Files

    3:50

  • Staging Changed Files

    2 objectives

  • Viewing Changes to a File

    5:45

  • File Status

    6 objectives

Managing Committed Files

We'll show you how to work with files after you've committed them. We'll also show you how to undo mistakes made when committing.

Chevron 12 steps
  • Removing Files

    4:14

  • Removing Files

    3 objectives

  • Moving Files

    2:14

  • Moving Files

    3 objectives

  • Unstaging Changes

    1:51

  • Unstaging Files

    2 objectives

  • Discarding File Modifications

    2:59

  • Discarding File Changes

    2 objectives

  • Undoing File Deletions

    1:18

  • Recovering Deleted Files

    3 objectives

  • Commit SHAs and Undoing Commits

    5:06

  • Undoing Commits

    2 objectives

GitHub and Other Remote Repositories

Git makes it easy to share your work with others. Git can work together with GitHub (and other sites) to make it easy to host your code in the cloud.

Chevron 10 steps
  • Cloning a Repository

    4:23

  • Cloning Repositories

    1 objective

  • Pulling Changes

    4:20

  • Pulling Commits

    2 objectives

  • Adding Remotes

    5:01

  • Pushing Commits to GitHub

    7:50

  • Adding Remotes

    2 objectives

  • Exploring the Repo on GitHub

    3:34

  • Summary

    1:47

  • Introduction to Git Review

    14 questions

Taught by

Jay McGavren

Reviews

Start your review of Introduction to Git Course (How To)

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.