Skip to content

A beginner-friendly, open-source guide to learning Git & GitHub from scratch, with real commands, common mistakes, and practical workflows (Windows-focused).

License

Notifications You must be signed in to change notification settings

aurafarmerone/learn-git-github

Repository files navigation

🚀 Learn Git & GitHub from Zero (Open Source Guide)

License: MIT Status Learning

Welcome! 👋
This repository is a beginner-friendly, step-by-step guide to learning Git and GitHub from scratch, especially for Windows users.

The goal of this project is simple:

Teach Git & GitHub the RIGHT way, with real commands, real mistakes, and real fixes.

🎯 Who is this for?

  • Absolute beginners
  • Students learning DSA / LeetCode / Open Source
  • Anyone confused by git merge, branch, or conflicts
  • People who want to contribute to open source

No prior Git knowledge required.

🧠 What You Will Learn

By the end of this repo, you will know how to:

  • Install Git on Windows
  • Configure Git (username & email)
  • Understand Git vs GitHub
  • Create a GitHub account
  • Clone a repository
  • Track files using Git
  • Commit changes properly
  • Push code to GitHub
  • Create & switch branches
  • Fix merge conflicts (hands-on)
  • Fork repositories
  • Contribute to open source via Pull Requests

📚 Learning Roadmap

Follow the topics in order 👇

1️⃣ Introduction

  • What is Git?
  • What is GitHub?
  • Why developers use Git

2️⃣ Install Git on Windows

  • Download Git
  • Install Git Bash
  • Verify installation

3️⃣ First-Time Git Setup

  • Set username
  • Set email
  • Check configuration

4️⃣ Git Basics

  • git init
  • git status
  • git add
  • git commit

5️⃣ Working with GitHub

  • Create a repository
  • git clone
  • git push
  • git pull

6️⃣ Branching (Very Important)

  • What is a branch?
  • Create a branch
  • Switch branches
  • Delete branches

7️⃣ Merge & Merge Conflicts

  • What is merging?
  • Why conflicts happen
  • How to fix conflicts safely

8️⃣ Forking & Open Source

  • What is fork?
  • Fork a repository
  • Sync fork with upstream
  • Create Pull Requests (PR)

9️⃣ Common Mistakes & Fixes

  • Non-fast-forward error
  • Merge conflicts
  • Wrong branch push
  • Undo commits

🛠️ Folder Structure (Planned)

learn-git-github/
│
├── 01-introduction/
├── 02-install-git-windows/
├── 03-git-setup/
├── 04-git-basics/
├── 05-github-basics/
├── 06-branches/
├── 07-merge-conflicts/
├── 08-fork-and-pr/
├── 09-common-errors/
└── README.md

Each folder will contain:

  • Simple explanation
  • Commands
  • Examples
  • Mistakes + fixes

🤝 How to Contribute

This is an open source learning project.

You can contribute by:

  • Improving explanations
  • Fixing typos
  • Adding examples
  • Adding screenshots
  • Translating content

Contribution Steps:

  1. Fork the repo
  2. Create a new branch
  3. Make changes
  4. Commit & push
  5. Open a Pull Request

⭐ Support the Project

If this repo helps you:

  • ⭐ Star the repository
  • 🔁 Share with friends
  • 🧠 Teach someone else

👤 Author

Aura Farmer
Learning • Teaching • Open Source

"Git looks scary until it finally makes sense. This repo exists to make it make sense." 💡

About

A beginner-friendly, open-source guide to learning Git & GitHub from scratch, with real commands, common mistakes, and practical workflows (Windows-focused).

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published