Introduction to Git

Thomas J. Kennedy


Git is a Version Control Platform that allows an individual or a team to track changes to a codebase. This includes maintaining records of what changes were, when changes were made, and by whom changes were made. This not only facilitates tracking progress.

Git allows one to:

  1. Explore alternative approaches.
  2. Reconcile conflicting changes (through merge and rebase).
  3. Compare differences between branches and commits.

1 Basic Commands

Before we can discuss merge and rebase, we must focus on the basic commands:

1.1 Getting Started

Let us focus on how each command is used in situ.


Let us start with a local repository (repo). Watch this recorded discussion.

This section will be expanded as we work through the next few lectures.