Skip to content

heyanzarkhan/git-toolbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

47 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

🧰 git-toolbox

The Complete Git & GitHub Handbook

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.


Stars Forks License: MIT PRs Welcome

⭐ Star this repo Β Β·Β  ⚑ Quick Cheat Sheet Β Β·Β  πŸ› Report a bug Β Β·Β  ✨ Request a topic


πŸ“– What is this?

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.


🧭 Choose your path

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

πŸ“š Table of Contents

Part 1 Β· Foundations

  1. What is Git? β€” history, version control, and how Git thinks
  2. Installation & Setup β€” install on any OS, first-time config, SSH keys
  3. Core Concepts β€” repository, staging area, commits, HEAD, branches

Part 2 Β· Everyday Git

  1. Everyday Git β€” your first repository: init, clone, add, commit, push, pull
  2. Branching & Merging β€” branches, merges, and resolving conflicts
  3. Working with Remotes β€” remote, fetch, pull, push, tracking branches
  4. Undoing Changes β€” restore, reset, revert, reflog, clean

Part 3 Β· Advanced Git

  1. Rewriting History β€” rebase, interactive rebase, cherry-pick, squashing
  2. Advanced Git β€” stash, tags, bisect, worktree, submodules, hooks
  3. Command Reference β€” the encyclopedic list: every command, key flags, examples

Part 4 Β· GitHub

  1. GitHub Essentials β€” accounts, repos, forks, and the GitHub flow
  2. Pull Requests & Review β€” opening, reviewing, and merging PRs
  3. Issues & Collaboration β€” issues, labels, Projects, Discussions, teams
  4. Actions, Pages & Releases β€” CI/CD, hosting, and shipping versions

Part 5 Β· Mastery

  1. Best Practices & Workflows β€” commit conventions, Git Flow vs GitHub Flow
  2. Troubleshooting β€” common errors and how to fix them
  3. Glossary β€” every term, defined

βž• Quick Cheat Sheet β€” the fast one-page reference


🀝 Contributing

Found a typo, a better example, or a missing command? Contributions are very welcome!

  1. Fork the repo
  2. Create a branch Β β†’Β  git switch -c improve-rebase-chapter
  3. Commit Β β†’Β  git commit -m "Clarify interactive rebase example"
  4. Open a Pull Request

See CONTRIBUTING.md and the Code of Conduct.


⭐ Found this useful?

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

About

🧰 A clean, copy-paste-ready Git command cheat sheet β€” from your first commit to interactive rebases. For beginners and pros alike.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

 
 
 

Contributors