my-git  by xirong

Git and GitHub handbook for modern and AI-native development

Created 11 years ago
7,396 stars

Top 7.0% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

This repository serves as a practical Git and GitHub handbook tailored for modern engineering teams and the emerging era of AI-native development. It addresses the gap between basic Git commands and real-world challenges, offering guidance on mental models, conflict resolution, team workflows, GitHub governance, and managing AI-generated code. The handbook benefits Git beginners, experienced developers, tech leads, and AI programmers by providing actionable strategies for efficient and robust code collaboration.

How It Works

The handbook employs structured learning paths covering Git fundamentals, daily development, team collaboration, GitHub governance, and AI-native workflows. Its core approach emphasizes practical problem-solving, moving beyond syntax to address real-world issues like conflict resolution, branching strategies, and PR management. A key differentiator is its focus on integrating AI programming tools (e.g., Codex, Cursor) into Git workflows, offering novel strategies for reviewing, splitting, and validating AI-generated code changes.

Quick Start & Requirements

This repository is a documentation handbook and does not require installation or execution. It provides links to external resources for deeper learning: Pro Git, GitHub Docs, Atlassian Git tutorials, Trunk Based Development, and Git Flight Rules. A v2.0 maintenance plan is outlined.

Highlighted Details

  • Dedicated sections detail AI-Native Git Workflows, covering integration with tools like Codex and Cursor, reviewing AI-generated code, and implementing Stacked PRs for AI changes.
  • Comprehensive GitHub Engineering Governance guidance includes branch protection rules, Merge Queues, and enterprise collaboration patterns.
  • A practical 'Git High-Frequency Incident Handling Manual' addresses common issues like incorrect commits, resets, rebases, and secret removal.
  • Team Git Workflow guides cover choices like GitHub Flow, GitLab Flow, and Trunk-Based Development, alongside PR and Code Review best practices.

Maintenance & Community

The project welcomes contributions for real-world problems, team practices, and AI workflow experiences. A v2.0 maintenance plan is in place. No specific community channels (e.g., Discord, Slack) are listed.

Licensing & Compatibility

The repository's README does not specify a software license. This omission requires clarification regarding usage rights, particularly for commercial applications or integration into closed-source projects.

Limitations & Caveats

The absence of a defined license is a significant adoption blocker. The handbook's effectiveness depends on the reader's ability to adapt its documented practices to their specific team environment. Details on the project's current development status or release cadence beyond the v2.0 plan are not provided.

Health Check
Last Commit

2 days ago

Responsiveness

Inactive

Pull Requests (30d)
3
Issues (30d)
7
Star History
4 stars in the last 30 days

Explore Similar Projects

Starred by John Resig John Resig(Author of jQuery; Chief Software Architect at Khan Academy) and Didier Lopes Didier Lopes(Founder of OpenBB).

CCPlugins by notlikeDev

0.2%
3k
Claude Code CLI enhancement framework
Created 10 months ago
Updated 8 months ago
Feedback? Help us improve.