🚀 LAST-DAY Offer
Extra 30% OFF on Professional Courses — Apply Coupon MAYEND30 — Offer Ends on 1st June!
⏳ Offer Ending Soon...
Explore Courses →

Setting GitHub


Steps to Set Up GitHub and Git

  • 1. Create a GitHub Account
    • Go to GitHub
    • Click on Sign up
    • Enter Username, Email (your-email@example.com) and Password
    • Verify email and complete the registration process
  • 2. Install Git
  • 3. Configure Git with Github
    • Open Command Prompt (cmd) or Git Bash
    • Set username:
      • git config --global user.name "Your Name"
    • Set email:
      • git config --global user.email "your-email@example.com"
      • Note
        • We have used the same command (git config --global) for Git configuration also.
        • However, when setting up GitHub with Git, we are using same command (git config --global) but it is considered best practice to use the same email address that you used for your GitHub account. This ensures that your commits are correctly linked to your GitHub profile.