Skip to main content

Advanced Git and GitHub

Advanced Git and GitHub operations, including branches, forks, pull requests, reset, revert.
git
github
collaboration
lecture
advanced
LearningLearning Objectives

After completing this session, you will be able to:

  • Define branch, fork, reset, and revert in the context of Git/GitHub
  • Contrast branches and forks
  • Create a branch on an existing repository
  • Use the fork feature on GitHub for an existing repository
  • Explain the three different types of reset, when they’re useful, and how they differ in severity

1 Overview

At this point, you’re likely at least somewhat familiar with the fundamental operations of Git and GitHub; you know how to stage your edits, make (informative) commit messages, and sync (pull/push) those changes between a remote repository and a local clone of that repository. However, in prior modules, a handful of topics have been raised but only touched on in a superficial way. This module is where we will dig into greater detail on some of these “advanced” topics.

We’ll discuss branches and forks–what they are, how they differ, and when/how to use them–how they relate to pull requests, and how to un-do problematic commits with varying levels of severity.