Module 4
4.2 : Git & Github
Module 4
4.2 : Git & Github
Create a GitHub Account
Go to https://github.com and sign up.
Use a professional username (ideally your real name or dev alias).
Set a strong password.
Confirm your email.
Set your profile information — this is your developer identity!
Download & Install Git
You need Git installed locally to use it from your computer.
Download Git from: https://git-scm.com/downloads
Run the installer.
During installation, choose:
Default Editor: Choose Notepad or VS Code.
Adjust PATH Environment: Select "Git from the command line and also from 3rd-party software".
Other settings can stay default.
Set Up Git for First Use
After installation, open Git Bash (recommended), or you can use Command Prompt (CMD) or PowerShell if you prefer.
Configure your name and email (this links your commits to you):
git config --global user.name "Your Full Name"
git config --global user.email "your@email.com"
To verify your setup:
git --version
git config --global --list
Recommended Terminal - Use Git Bash
Git Bash is the best terminal for beginners.
It gives you the same commands and environment developers use globally.
You can also use:
Command Prompt (CMD) (works fine for Windows users).
PowerShell (works too, but Git Bash is preferred for consistency).