gitFull version control coverage with essential commands, team workflows, branching strategies, and recovery techniques.
Install via ClawdBot CLI:
clawdbot install ivangdavila/gitUser needs Git expertise — from basic operations to complex workflows. Agent handles branching, merging, rebasing, conflict resolution, and team collaboration patterns.
| Topic | File |
|-------|------|
| Branch strategies | branching.md |
| Conflict resolution | conflicts.md |
| History and recovery | history.md |
| Team workflows | collaboration.md |
git push --force-with-lease instead of --force — prevents overwriting others' workgit pull --rebase before retryingtype(scope): descriptiongrep -r "<<<\|>>>\|===" .git merge --abort and try git rebase insteadgit branch -d branch-namegit rebase -i to squash messy commits before pushinggit reset --soft HEAD~1git restore filenamegit add -p for partial staging when commit mixes multiple changes.gitkeep if needed--recurse-submodulesBefore destructive operations:
git branch to verifygit fetch firstGenerated Mar 1, 2026
Developers need to create and manage feature branches, rebase onto main, and resolve merge conflicts before pull requests. This ensures clean integration and prevents codebase conflicts in fast-paced sprints.
Before submitting a pull request, engineers must squash commits, verify commit messages follow conventions, and ensure branches are up-to-date. This streamlines reviews and maintains project history clarity.
Multiple contributors work on a shared codebase, requiring safe push practices, conflict resolution, and branch hygiene to avoid overwriting work. This is common in open-source or distributed teams.
When a critical bug arises, developers must quickly create a hotfix branch, resolve conflicts with production code, and deploy safely without disrupting ongoing features. This minimizes downtime in live systems.
New hires need to clone repositories with submodules, set up correct git configurations, and understand team workflows to contribute effectively from day one. This accelerates integration into development processes.
Companies building software-as-a-service products use Git for version control to manage frequent updates, feature rollouts, and team collaboration. This enables scalable development and continuous delivery.
Firms offer Git workflow consulting and training services to help organizations optimize their development processes. This includes implementing branch strategies and conflict resolution best practices.
Large enterprises maintain legacy or complex codebases using Git for history management and recovery operations. This ensures stability and compliance in regulated industries like finance or healthcare.
đź’¬ Integration Tip
Integrate this skill with CI/CD pipelines to automate checks on commit messages and branch hygiene, and use it alongside project management tools for seamless workflow tracking.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Query the DeepWiki MCP server for GitHub repository documentation, wiki structure, and AI-powered questions.
Automated GitHub PR code review with diff analysis, lint integration, and structured reports. Use when reviewing pull requests, checking for security issues,...
Essential Git commands and workflows for version control, branching, and collaboration.
Advanced git operations beyond add/commit/push. Use when rebasing, bisecting bugs, using worktrees for parallel development, recovering with reflog, managing subtrees/submodules, resolving merge conflicts, cherry-picking across branches, or working with monorepos.
Format commit messages using the Conventional Commits specification. Use when creating commits, writing commit messages, or when the user mentions commits, git commits, or commit messages. Ensures commits follow the standard format for automated tooling, changelog generation, and semantic versioning.