Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /