A practical, readable Git reference for everyday workflows and long-term mastery.
Gitcraft explains the mental model behind Git, then turns it into commands and workflows you can use at the terminal. It is designed for quick lookup without losing the reasoning that makes Git easier to remember.
| Need | Start here |
|---|---|
| Learn the foundations | Getting Started |
| Create or manage branches | Branches |
| Temporarily set work aside | Git stash |
| Synchronize with GitHub | Remote workflows |
| Undo or recover changes | Undo and Recovery |
| Contribute to a project | Open Source workflow |
- Core Git concepts and the working-tree-to-commit model.
- Branch, merge, rebase, stash, and remote workflows.
- Undo and recovery with
restore,reset,revert, andreflog. - Repository practices including
.gitignore, tags, and Git LFS. - Collaboration practices such as pull requests and Conventional Commits.
Read the full reference at saqibbedar.github.io/gitcraft.
Gitcraft is being refined as a focused Git reference. Improvements to command accuracy, examples, navigation, and missing workflows are welcome. Read CONTRIBUTING.md for the GitHub contribution process.
See LICENSE for project licensing information.
