Skip to Main Content






Git Basics

Learn how to use Git for version control. This is an opportunity to discover more about this useful tool.

Introduction

What is Git?

Git is a Version Control System (VCS). A VCS is a tool to manage changes to a set of files. It allows developers to track changes in their code as they work on it and concurrently collaborate with other developers as well. Some word processing systems, such as Google Docs, have similar functionality (e.g. previous versions of a document can be easily restored). This helps prevent the typical problem of having many copies of the same project (you know, “version1”, “version2”, … , “versionfinal”, “versionfinal_forreal”, etc.).

Overview

After completing this tutorial you will learn how to:

  • Install Git
  • Create a repository
  • Add your files to your repository
  • Copy a repository to your local machine
  • Update your files
  • Access different versions of your files
  • Create a branch, modify it and then merge it with the main branch
  • Work with GitHub