Skip to main content

Git introduction

Git is a distributed version control system that tracks:
  • File changes over time
  • Who made each change
This makes it easy to collaborate with others, roll back mistakes, and maintain a full history of your project.

Local vs remote repositories

Git has two repository types: local and remote.

Local repository

Stored directly on your own machine. You have full access to the entire history and can work offline.

Remote repository

Located on a centralized server such as GitHub or Bitbucket. Used to share and collaborate with others.
Most Git workflows involve both a local repository (where you do your work) and a remote repository (where you share that work with your team).

Build docs developers (and LLMs) love