Version control tracks every change to code (and config), lets teams collaborate safely and lets you undo mistakes. Git is the industry standard.
Git Workflow
Version control every technical team relies on.
Tap or hover a part to learn more.
Get a repo.
A repository is a project tracked by Git. Clone an existing repo from GitHub/GitLab, or init a new one locally, to start tracking changes.
Check your understanding
1. What is a pull request?
2. What is the difference between Git and GitHub?
Keep learning
The core workflow
- Repository — a project tracked by Git, hosted on GitHub/GitLab/Azure DevOps.
- Clone / commit — copy a repo, then save snapshots of your changes with a message.
- Branch / merge — work on a feature branch without breaking the main code, then merge it back.
- Pull request (PR) — propose changes for review before they're merged — the heart of team collaboration and quality.
Git underpins modern automation and DevOps (CI/CD pipelines run from Git). Essential for any technical role.
