Last Updated: December 6, 2025
To install Git, you can follow the official instruction for different operating systems from the git-scm.com website:
After installing Git on any operating system, verifying the installation is essential.
git --versionTo make learning Git more practical, here’s a sample repository you can use to try out the commands from this course.
Clone it to your local machine:
I strongly recommend running each command in this repo as you read about it. Hands-on practice is the fastest way to build real confidence with Git.
You’re also welcome to create your own test repository if you prefer experimenting with your own files.
In the next chapter, we will look at how to customize your Git environment to fit your workflow and enhance your development experience.