From "what even is a commit?" to interactive rebases and CI pipelines. A free, open-source, beginner-to-advanced guide that explains every Git & GitHub concept in plain English β with real, copy-paste-ready examples.
β Star this repo Β Β·Β β‘ Quick Cheat Sheet Β Β·Β π Report a bug Β Β·Β β¨ Request a topic
git-toolbox is a complete, structured handbook for learning Git and GitHub β the version-control tools used by virtually every software team on earth. It's written to take you from zero to confident, one short chapter at a time.
- π§ Concepts explained, not just commands listed β you'll understand why, not just what to type.
- π Every command has a real example β copy, paste, run.
- πͺ Progressive β each chapter builds on the last, but you can also jump straight to what you need.
- π 100% free & open source β MIT licensed. Fork it, share it, contribute to it.
π In a hurry? The Quick Cheat Sheet is a one-page reference of the most-used commands.
| You are⦠| Start here |
|---|---|
| π± Brand new to Git | 1. What is Git? β read in order |
| π» Know the basics, want to level up | 7. Undoing Changes & 8. Rewriting History |
| π Comfortable with Git, new to GitHub | 11. GitHub Essentials |
| β‘ Just need a command, fast | Cheat Sheet or 10. Command Reference |
| ποΈ Setting up a team workflow | 15. Best Practices & Workflows |
- What is Git? β history, version control, and how Git thinks
- Installation & Setup β install on any OS, first-time config, SSH keys
- Core Concepts β repository, staging area, commits, HEAD, branches
- Everyday Git β your first repository:
init,clone,add,commit,push,pull - Branching & Merging β branches, merges, and resolving conflicts
- Working with Remotes β
remote,fetch,pull,push, tracking branches - Undoing Changes β
restore,reset,revert,reflog,clean
- Rewriting History β
rebase, interactive rebase,cherry-pick, squashing - Advanced Git β
stash,tags,bisect,worktree, submodules, hooks - Command Reference β the encyclopedic list: every command, key flags, examples
- GitHub Essentials β accounts, repos, forks, and the GitHub flow
- Pull Requests & Review β opening, reviewing, and merging PRs
- Issues & Collaboration β issues, labels, Projects, Discussions, teams
- Actions, Pages & Releases β CI/CD, hosting, and shipping versions
- Best Practices & Workflows β commit conventions, Git Flow vs GitHub Flow
- Troubleshooting β common errors and how to fix them
- Glossary β every term, defined
β Quick Cheat Sheet β the fast one-page reference
Found a typo, a better example, or a missing command? Contributions are very welcome!
- Fork the repo
- Create a branch Β βΒ
git switch -c improve-rebase-chapter - Commit Β βΒ
git commit -m "Clarify interactive rebase example" - Open a Pull Request
See CONTRIBUTING.md and the Code of Conduct.
If git-toolbox helped Git finally click, drop it a star β it helps other learners find it too.
Made with β€οΈ by Anzar Khan Β Β·Β oneit.live
π Licensed under the MIT License