☀️ SUMMER SALE
🚀 Master Java → Build Real Projects → Crack Interviews → Get Hired
🚀 Crack Product/Service Based Company Interviews
from our Java Placement Courses
🔥 30% OFF Coupon: SUMMER30 Coupon: SUMMER30 View Courses
✓ Coupon Copied: SUMMER30

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.