Learn Git
Git is a free and open source distributed version control system. It handles projects of all sizes quickly and efficiently, while providing support for rolling back changes when needed.
GitLab is built on top of (and with) Git, and provides you a Git-based, fully-integrated platform for software development. GitLab adds many powerful features on top of Git to enhance your workflow.
Getting started Overview of how features fit together. |
Install Git Download, configuration, system requirements. |
Tutorial: Create your first commit Initial commit, Git basics, repository setup. |
Clone a repository to your local machine Local repository, clone, remote repository, SSH. |
Create a branch for your changes Branching, branch switch, checkout. |
Add files to your branch Git add, staging changes, file management, commits. |
Stash changes for later Temporary storage, work in progress, context switching. |
Stage, commit, and push changes Staging area, commits, push changes to remote. |
Undo changes Reverting commits, removing changes, Git reset, unstage. |
Merge your branch into the main branch Create merge request, change review, merge. |
Rebase to address merge conflicts Conflict resolution, rebase, branch management. |
Common Git commands Git cheatsheet, basic operations, command line. |
Tutorial: Update Git remote URLs Change the push/pull URL on a working copy. |
Troubleshooting Error resolution, common issues, debugging, Git problems. |