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.
- Absolute beginners
- Students learning DSA / LeetCode / Open Source
- Anyone confused by
git merge,branch, orconflicts - People who want to contribute to open source
No prior Git knowledge required.
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
Follow the topics in order 👇
- What is Git?
- What is GitHub?
- Why developers use Git
- Download Git
- Install Git Bash
- Verify installation
- Set username
- Set email
- Check configuration
git initgit statusgit addgit commit
- Create a repository
git clonegit pushgit pull
- What is a branch?
- Create a branch
- Switch branches
- Delete branches
- What is merging?
- Why conflicts happen
- How to fix conflicts safely
- What is fork?
- Fork a repository
- Sync fork with upstream
- Create Pull Requests (PR)
- Non-fast-forward error
- Merge conflicts
- Wrong branch push
- Undo commits
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
This is an open source learning project.
You can contribute by:
- Improving explanations
- Fixing typos
- Adding examples
- Adding screenshots
- Translating content
- Fork the repo
- Create a new branch
- Make changes
- Commit & push
- Open a Pull Request
If this repo helps you:
- ⭐ Star the repository
- 🔁 Share with friends
- 🧠 Teach someone else
Aura Farmer
Learning • Teaching • Open Source
"Git looks scary until it finally makes sense. This repo exists to make it make sense." 💡