My Git logo

My Git

Free

A practical Git & GitHub handbook for modern engineering teams and AI-native development workflows. | 现代工程团队与 AI 编程时代的 Git / GitHub 实战手册

FreeFree tier
Type
Open Source

About My Git

My Git is a practical, community-driven handbook covering Git and GitHub workflows for modern engineering teams and AI-native development. Originally a collection of Git learning materials for Chinese developers, v2.0 expands into structured content addressing Git mental models, daily conflict/rollback handling, team collaboration (PRs, Code Review, CI), enterprise governance, and AI-native coding practices (diff review, commit splitting, worktree, multi-agent strategies). The repository includes learning paths for beginners, daily developers, team collaboration, and templates for PRs, issues, reviews, and more. Licensed under MIT with support for English and Chinese.

Key Features

Git mental model and basic commands for beginners
Daily development workflow: branching, merging, rebase, stash, worktree
Team collaboration: PRs, Code Review, branch models (GitHub Flow, GitLab Flow, Trunk-Based)
GitHub engineering: branch protection, rulesets, CODEOWNERS, CI, release, security
AI-native development: diff review, commit splitting, worktree, multi-agent strategies for AI coding
Troubleshooting: conflict resolution, force push recovery, secret cleaning
Large repository management: monorepo, partial clone, sparse checkout, Git LFS
Templates for PRs, issues, reviews, hotfixes, releases, and AI reviews
Enterprise engineering practice cases and decision maps
Learning paths for beginner, daily development, and team collaboration

Pros & Cons

Pros
  • Comprehensive coverage from basics to advanced enterprise and AI-native workflows
  • Structured learning paths for different skill levels
  • Includes practical templates for PRs, issues, reviews, and releases
  • Bilingual support (English and Chinese)
  • Actively maintained with community contributions (7,396 stars, 2.5k forks)
  • Covers emerging AI-native development practices

Best For

Git beginners building a correct mental modelPracticing developers handling conflicts, rollbacks, and accidental commitsSenior developers focusing on PRs, Code Review, CI, and release collaborationTechnical leads designing team Git workflows and GitHub governanceAI coding users managing risks from tools like Codex, Claude Code, Cursor, and Cline

FAQ

What is My Git?
My Git is a practical Git/GitHub handbook for modern engineering teams and AI-native development workflows. It started as a collection of Git learning materials and has been upgraded to v2.0 to address broader topics including mental models, team workflows, and AI code management.
Who is this handbook for?
It is designed for Git beginners, practicing developers handling conflicts and rollbacks, senior developers focusing on PRs and CI/CD, technical leads designing team workflows, and AI coding users who need to control risks from tools like Codex, Claude Code, Cursor, and Cline.
What license is My Git released under?
My Git is released under the MIT license.
Is My Git available in multiple languages?
Yes, the handbook is available in both English and Chinese.