Git Guide

An introduction to the Git version control system designed for Singapore Polytechnic's DIT SEP module.

Objectives

This guide aims to provide developers with a broad understanding of the Git version control system and a common Git workflow. It does not go into depth on a variety of complex Git commands. Those can be picked up once you have developed an intuition for Git.

Git is a vast topic and it will be impossible to cover the entirety of the Git tooling in a single session. Additional resources have been added below for your reference. You are encouraged to explore beyond what is taught to better understand Git.

While this guide was written with the students of DIT in mind, it is applicable to all other developers who are new and wish to learn more about Git - beyond just memorising a set of commands to type into your terminal.

Usage

To get the most out of this guide, it is recommended that you give chapters one through five a thorough read. Each chapter tackles a different aspect of Git and relies on knowledge of prior chapters to accelerate your learning. Chapter six through eight are supplements. They cover slightly more advanced topics in Git that may come in handy in the future but are not necessary when starting out.

However, as with anything related to programming, the best learning is always independent learning. So as much as each chapter provides based exercises for you to follow along, you will benefit greatly from playing around with each chapter and trying out different variations of the commands to gain a firm grasp of what they do.

The list of chapters can be found in the sidebar to the left.

Recommended resources


Copyright © 2020. Git Guide is built with Gatsby.js. The repository can be found here.