Git is not currently installed on your system. Here's how to install it:
-
Download Git:
- Go to: https://git-scm.com/download/win
- The download should start automatically
- Or click "Click here to download manually"
-
Run the Installer:
- Double-click the downloaded file (Git-2.xx.x-64-bit.exe)
- Click "Next" through the installation wizard
- Important settings:
- ✅ Use recommended default settings
- ✅ Select "Git from the command line and also from 3rd-party software"
- ✅ Use bundled OpenSSH
- ✅ Use the OpenSSL library
- ✅ Checkout Windows-style, commit Unix-style line endings
- ✅ Use MinTTY
- ✅ Default (fast-forward or merge)
-
Verify Installation:
- Open a NEW Command Prompt or PowerShell
- Run:
git --version - You should see:
git version 2.xx.x
If you have Windows 10/11 with winget:
winget install --id Git.Git -e --source wingetIf you have Chocolatey installed:
choco install gitsudo apt update
sudo apt install gitsudo dnf install gitsudo pacman -S gitbrew install gitxcode-select --install- Go to: https://git-scm.com/download/mac
- Download and run the installer
After installation, open a NEW terminal/command prompt and run:
git --versionYou should see something like:
git version 2.43.0
After installing Git, configure your identity:
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"Verify configuration:
git config --listOnce Git is installed, you can:
-
Run the setup script:
# Windows: setup_github.bat # Linux/Mac: ./setup_github.sh
-
Or manually set up the repository:
git init git add . git commit -m "Initial commit" git remote add origin https://github.com/YOUR_USERNAME/REPO_NAME.git git branch -M main git push -u origin main
- Windows: Close and reopen Command Prompt/PowerShell
- Linux/Mac: Run
source ~/.bashrcor open a new terminal
- Windows: Run installer as Administrator (right-click → Run as administrator)
- Linux: Make sure you have sudo privileges
- macOS: Install Xcode Command Line Tools first
- This is normal for the first run
- Subsequent operations will be faster
After installation, you might want to learn Git basics:
- Official Git Tutorial: https://git-scm.com/docs/gittutorial
- GitHub Git Handbook: https://guides.github.com/introduction/git-handbook/
- Interactive Tutorial: https://learngitbranching.js.org/
Common Git commands you'll use:
git init # Initialize repository
git add . # Stage all files
git commit -m "message" # Commit changes
git push # Push to remote
git pull # Pull from remote
git status # Check status
git log # View historyAfter installing Git:
- ✅ Verify installation:
git --version - ✅ Configure Git with your name and email
- ✅ Run
setup_github.batto set up your repository - ✅ Create repository on GitHub
- ✅ Push your code!
Need help? The setup scripts will guide you through the process!