Git Exercises
Exercises
Test your Git skills with exercises from all categories:
Install
Config
Get Started
New Files
Staging Environment
Commit
Tagging
Stash
History
Help
Branch
Branch Merge
Workflow
Best Practices
SSH Security
Set Remote
Pull from Remote
Push to Remote
Remote Branch
Pull from Remote Branch
Push to Remote Branch
Clone
Pull Request
Revert
Reset
Amend
Rebase
Reflog
Recovery
.gitignore
.gitattributes
LFS
Signing
Cherry Pick/Patch
Merge Conflicts
CI/CD
Hooks
Submodules
Remote Advanced
Log in to track your progress
If you haven't already, sign up to become a W3Schooler, and get points for every exercise you complete.
As a logged-in W3Schools user you will have access to many features like having your own web page, track your learning progress, receive personal guided paths, and more.
The Exercise
The exercises are a mix of "multiple choice" and "fill in the blanks" questions. There are between 3 and 9 questions in each category. The answer can be found in the corresponding tutorial chapter. If you're stuck, or answer wrong, you can try again or hit the "Show Answer" button to see the correct answer.