Skip to content

Git Basics

Git is a version control software.

It is the cornerstone of modern software development, and is very widely used.

Exercises

Note

These exercises are part of Polar Squad's DevOps workshops. If you wish to enroll in the workshops, contact us for further details. The exercises can be completed separately, too.

The goal of these exercises is to teach reader basics of Git.

  • How to work with a local version control repository
  • How to make branch out and make changes
  • How to push to a remote repository

Git is a heavily command-line oriented tool, and while you can use some GUI tools for Git, it makes sense to first understand what is happening under the hood.

The same commands work for Windows, Linux and macOS, but how you install the tool depends on the operating system.

In these exercises, we'll cover the following topics:

  1. Setting up Git
  2. Committing your first change
  3. Branching out
  4. Working with others
  5. Summary

Next

To get started, let's install Git.