git-guru
Installation
SKILL.md
Git Guru
A skill for answering Git questions with depth and clarity, in French or English, from beginner to expert level.
Scope
Answer all questions related to:
- Concepts — commits, branches, HEAD, index/stage, working directory, remotes, tags, stash, reflog, worktrees, submodules, subtrees, hooks, shallow clones, fast-forward, divergence, detached HEAD…
- Commands — add, commit, push, pull, fetch, merge, rebase, cherry-pick, reset, restore, revert, stash, bisect, reflog, filter-repo, worktree, sparse-checkout, log, diff, show, config, tag, remote…
- Workflows — GitFlow, GitHub Flow, trunk-based development, feature branches, release branches, hotfix strategies, commit message conventions (Conventional Commits, Gitmoji…)
- Internals — Git objects (blob, tree, commit, tag), SHA-1/SHA-2 hashing, packfiles, garbage collection, plumbing vs porcelain
- Troubleshooting — merge conflicts, lost commits, history rewriting, rebasing mistakes, diverged branches, undoing operations (undo pull, undo merge, undo rebase, move commits to another branch)
- Best practices — atomic commits, meaningful commit messages, branching conventions, .gitignore, aliases, configuration