If you’re new to Git, your first step is to install it, configure the basic settings, and create your first project. This guide will walk you through the process step by step.
- Go to Git for Windows. Download Git.
- Download the installer (.exe).
- Run it → follow the steps (default options are fine for beginners).
- After installation, open Git Bash or Command Prompt and check:
git --version
Set Up Git (First-Time Configuration)
After installation, configure your identity (so Git knows who is making changes):
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"
Check your settings:
git config --list
Now Git is installed and ready to use!
Create a GitHub Account
The next step is to set up your GitHub account.
Go to github.com
and sign up for a free account.
Once your account is created:
- You’ll be able to create repositories (storage spaces for your projects).
- You can share your code with others.
- You can also collaborate with classmates or teams easily.
Think of GitHub as your online portfolio + teamwork space where all your projects live.