Easy Guide: Git & GitHub Setup

Beginner's Guide: Git & GitHub Setup

πŸš€ Beginner’s Guide: Set Up Git & GitHub the Easy Way

If you're just starting out in coding or tech, this guide will walk you through creating a GitHub account, installing Git, and linking both tools step-by-step. Super friendly for beginners!
πŸ™ I. GitHub Account Creation
Why is a GitHub account important?
GitHub helps you save, share, and manage your code online—great for working alone or with a team.
  • Go to github.com and click “Sign up.”
  • Use a professional email address.
  • Create a strong password:
    • 15+ characters (any combo)
    • or at least 8 chars with 1 number + 1 lowercase letter
  • Pick a username you'll use in Git commands.
  • Solve the CAPTCHA, verify your email, and you're in!
  • To confirm your profile, click your profile picture (top right). Your username is right there.
πŸ’½ II. Installing Git
What is Git?
Git tracks code changes on your computer. GitHub stores those changes online.
πŸ” Search “Git Download” and open the official Git site.
⬇️ Download the version for your OS (Windows, Mac, etc.)
πŸ“‚ Double-click the installer (.exe on Windows).
▶️ Keep everything default—just click “Next” through each screen.
⚙️ Choose “Use Git from the command line and also from 3rd-party software.”
Click “Install” and wait for setup to finish!
πŸ”— III. Linking Git to GitHub
Now connect Git (your computer) with GitHub (online) so you can push code to the cloud.
  1. Open Command Prompt (Windows) or Terminal (Mac).
  2. Set your GitHub username:
    git config --global user.name "YourGitHubUsername"
  3. Set your GitHub email:
    git config --global user.email "youremail@example.com"
  4. Use double quotes "" "" to avoid mistakes.
  5. Check your config:
    git config --global user.name
    git config --global user.email
  6. If both show the right info—you’re connected!
πŸ“Œ TL;DR: Sign up for GitHub, install Git, link with simple commands. Now you’re ready to build and manage code like a pro!
πŸ“Š Quick Reference
Task Key Action Why It Matters
Create GitHub Sign up with username + verified email Needed for sharing/storing code
Install Git Run installer & use defaults Track local changes
Link Account Use git config commands Connect your PC to GitHub
Verify Setup View saved username/email via command line Confirms successful link

Comments