# GitHub

**GitHub** 是微软旗下的开发者平台。<sup>[1](https://propicked.com/blog/github-vs-gitlab-vs-bitbucket-2025)</sup> 它于2008年4月上线，2018年被微软以75亿美元收购，据报告2025年拥有超过1.8亿开发者和6.3亿个仓库。<sup>[1](https://propicked.com/blog/github-vs-gitlab-vs-bitbucket-2025)</sup><sup> • </sup><sup>[2](https://github.blog/news-insights/octoverse/octoverse-a-new-developer-joins-github-every-second-as-ai-leads-typescript-to-1/)</sup>

| 关键事实 | 详情 |
|---|---|
| 创立／收购 | 2008年4月上线；2018年被微软以75亿美元收购<sup>[1](https://propicked.com/blog/github-vs-gitlab-vs-bitbucket-2025)</sup> |
| 规模（2025年） | 超过1.8亿开发者（一年内增加3600万）；仓库总数6.3亿个，2025年新建1.21亿个<sup>[2](https://github.blog/news-insights/octoverse/octoverse-a-new-developer-joins-github-every-second-as-ai-leads-typescript-to-1/)</sup> |
| 活跃度（2025年） | 平均每月合并4320万个拉取请求（同比增长23%）；提交近10亿次（同比增长25.1%）<sup>[2](https://github.blog/news-insights/octoverse/octoverse-a-new-developer-joins-github-every-second-as-ai-leads-typescript-to-1/)</sup> |
| 定价 | 公开仓库免费；Team方案每用户每月21美元；Copilot免费版每月最多2000次补全<sup>[3](https://github.com/pricing)</sup> |
| Actions配额 | 每月2000 CI分钟（Free）、3000（Pro和Team）、50000（Enterprise Cloud）<sup>[4](https://docs.github.com/en/billing/reference/product-usage-included)</sup> |
| Copilot | 2021年6月发布；智能体模式在SWE-bench Verified上使用Claude 3.7 Sonnet达到56.0%的通过率<sup>[5](https://githubcopilotlitigation.com/pdf/06823/06823-95.pdf)</sup><sup> • </sup><sup>[6](https://github.blog/news-insights/product-news/github-copilot-agent-mode-activated/)</sup> |
| Copilot诉讼 | 第九巡回法院于2026年9月16日维持驳回DMCA索赔的裁定；基于开源许可的合同索赔此前已获准继续审理<sup>[7](https://storage.courtlistener.com/recap/gov.uscourts.ca9.08476fbf-f296-42a9-ba10-af35e4ec26ac/gov.uscourts.ca9.08476fbf-f296-42a9-ba10-af35e4ec26ac.126.1.pdf)</sup><sup> • </sup><sup>[8](https://storage.courtlistener.com/recap/gov.uscourts.cand.403220/gov.uscourts.cand.403220.195.0_1.pdf)</sup> |

## GitHub是什么

GitHub在2023年开发者数量突破1亿，此前从5000万增长到1亿用了近三年；2025年又突破1.8亿，是其绝对增长最快的一年。<sup>[2](https://github.blog/news-insights/octoverse/octoverse-a-new-developer-joins-github-every-second-as-ai-leads-typescript-to-1/)</sup> 平台上63%的仓库为开源或公开仓库。<sup>[2](https://github.blog/news-insights/octoverse/octoverse-a-new-developer-joins-github-every-second-as-ai-leads-typescript-to-1/)</sup>

## 运作方式

关于代码审查的研究发现了其与安全结果的关联：在149种语言的3126个GitHub项目（489038个议题和382771个拉取请求）中，拉取请求的代码审查覆盖率与所报告的安全漏洞数量呈负相关。<sup>[9](https://people.eecs.berkeley.edu/~daw/papers/coderev-promise17.pdf)</sup>

审查循环也是自动化如今参与的环节。编码智能体可以持续参与审查过程，在拉取请求提交后通过后续提交回应人类审查者的反馈。<sup>[10](https://dl.acm.org/doi/10.1145/3793302.3797249)</sup>

## 产品与定价

GitHub的方案从Free到Team再到Enterprise。免费个人账户包括无限公开仓库上的无限协作者和完整功能集，以及有限功能集的无限制私有仓库；付费个人方案增加高级私有仓库工具，如必需审查者、受保护分支和代码所有者。<sup>[11](https://docs.github.com/en/get-started/learning-about-github/githubs-plans)</sup> Team方案每用户每月21美元。<sup>[3](https://github.com/pricing)</sup>

**包含的配额**因层级而异，差别很大。每月GitHub Actions分钟数：Free为2000，Pro为3000，Team为3000，Enterprise Cloud为50000。<sup>[4](https://docs.github.com/en/billing/reference/product-usage-included)</sup> 托管开发环境Codespaces的计算费用从每小时0.18美元起，存储费用为每GB每月0.07美元；Free包含120核心小时和15 GB存储，Pro包含180核心小时和20 GB。<sup>[3](https://github.com/pricing)</sup><sup> • </sup><sup>[4](https://docs.github.com/en/billing/reference/product-usage-included)</sup> Packages存储从500 MB（Free）到2 GB（Pro和Team）再到50 GB（Enterprise Cloud）不等；Git LFS存储在Free和Pro上为10 GB，在Team和Enterprise Cloud上为250 GB。<sup>[4](https://docs.github.com/en/billing/reference/product-usage-included)</sup> Enterprise Cloud还包括SAML单点登录和企业管理用户。<sup>[12](https://github.com/resources/articles/devops-tools-comparison)</sup>

**Copilot定价**单独分层。免费版每月最多提供2000次补全。<sup>[3](https://github.com/pricing)</sup> 每月39美元的Copilot Pro+方案包含每月1500次高级请求；Pro客户从2025年5月起每月获得300次高级请求，额外高级请求起价每次0.04美元。<sup>[6](https://github.blog/news-insights/product-news/github-copilot-agent-mode-activated/)</sup> GitHub Advanced Security定价为每提交者每月49美元。<sup>[1](https://propicked.com/blog/github-vs-gitlab-vs-bitbucket-2025)</sup>

## 历史

GitHub于2008年4月上线，2018年被微软以75亿美元收购。<sup>[1](https://propicked.com/blog/github-vs-gitlab-vs-bitbucket-2025)</sup> Copilot于2021年6月发布，基于[OpenAI Codex](https://www.edgepedia.org/zh/openai-codex-ai-agent)构建；Codex将自然语言转换为代码，于2021年8月发布。<sup>[5](https://githubcopilotlitigation.com/pdf/06823/06823-95.pdf)</sup>

## 数据一览

厂商和独立机构对GitHub规模的统计使用不同口径，结果并不一致。GitHub自己的Octoverse报告给出2025年仓库总数为6.3亿个，当年新建1.21亿个。<sup>[2](https://github.blog/news-insights/octoverse/octoverse-a-new-developer-joins-github-every-second-as-ai-leads-typescript-to-1/)</sup> 一项仅统计公开仓库的独立普查发现约4.3亿个，其中4.17亿个创建于2025年12月31日或之前。<sup>[13](https://research.powerset.co/posts/github-in-2025)</sup>

增长已经加速。2020年至2024年，公开仓库的同比增长平均为16%，2025年升至34%。<sup>[13](https://research.powerset.co/posts/github-in-2025)</sup> 活跃度指标同步增长：平均每月合并4320万个拉取请求（同比增长23%），提交近10亿次（同比增长25.1%），2025年8月创下近1亿次提交的纪录；公开项目中使用GitHub Actions的分钟数达115亿，比2024年的85亿增长35%。<sup>[2](https://github.blog/news-insights/octoverse/octoverse-a-new-developer-joins-github-every-second-as-ai-leads-typescript-to-1/)</sup>

## 与GitLab、Bitbucket及自建代码托管平台的比较

对比定价（来自第三方比较，GitHub各层级以其自身定价页面为准）显示：GitLab Premium为每用户每月29美元，Ultimate为99美元；[Bitbucket](https://www.edgepedia.org/zh/bitbucket)为每用户每月3美元和6美元；免费CI分钟数在GitHub上为2000，GitLab为400，Bitbucket为50。<sup>[1](https://propicked.com/blog/github-vs-gitlab-vs-bitbucket-2025)</sup> GitLab Ultimate捆绑内置的SAST、DAST、依赖与容器扫描、许可证合规和密钥检测，而GitHub将Advanced Security单独出售，价格为每提交者每月49美元。<sup>[1](https://propicked.com/blog/github-vs-gitlab-vs-bitbucket-2025)</sup>

[GitHub Actions](https://www.edgepedia.org/zh/github-actions)已成为默认的CI平台：它在绝大多数活跃仓库中运行，工作流定义在仓库中存储的YAML文件里，并拥有超过15000个预构建操作的市场。<sup>[14](https://latchkey.dev/learn/reports/state-of-github-actions-2026)</sup><sup> • </sup><sup>[1](https://propicked.com/blog/github-vs-gitlab-vs-bitbucket-2025)</sup> 在规模化使用时，用户会转向自托管运行器：自建运行器和托管运行器集群合计占Actions分钟数的四分之一以上，驱动因素是成本以及自定义硬件、热缓存和私有网络访问等需求。<sup>[14](https://latchkey.dev/learn/reports/state-of-github-actions-2026)</sup>

## 安全功能

2025年，Dependabot在超过266.8万个项目中启用（同比增长24.27%），在dependabot.yml文件中定义Dependabot行为的仓库数量翻倍以上，达到84.6万个（同比增长137%）。<sup>[2](https://github.blog/news-insights/octoverse/octoverse-a-new-developer-joins-github-every-second-as-ai-leads-typescript-to-1/)</sup> GitHub Advanced Security定价为每提交者每月49美元。<sup>[1](https://propicked.com/blog/github-vs-gitlab-vs-bitbucket-2025)</sup>

## Copilot与AI：近期进展

Copilot已从单模型补全工具转变为多模型智能体平台。发布时，向所有VS Code用户推出的智能体模式由[Claude 3](https://www.edgepedia.org/zh/claude-3).5和3.7 Sonnet、Google Gemini 2.0 Flash和OpenAI GPT-4o中的可选模型驱动，付费方案以GPT-4o为基础模型；使用[Claude 3.7 Sonnet](https://www.edgepedia.org/zh/claude-3-7-sonnet)时，它在SWE-bench Verified上达到56.0%的通过率。<sup>[6](https://github.blog/news-insights/product-news/github-copilot-agent-mode-activated/)</sup> 同期引入的高级请求定价（Pro每月300次，Pro+每月1500次、每月39美元，超额每次0.04美元）将Copilot的经济模式与智能体使用而非简单补全挂钩。<sup>[6](https://github.blog/news-insights/product-news/github-copilot-agent-mode-activated/)</sup>

智能体撰写的拉取请求已成为可衡量的工作流。AIDev数据集汇总了来自五个编码智能体（OpenAI Codex、Devin、GitHub Copilot、[Cursor](https://www.edgepedia.org/zh/cursor-coding-agent)和[Claude Code](https://www.edgepedia.org/zh/claude-code)）的932791个智能体撰写的拉取请求，覆盖116211个仓库，涉及72189名开发者。<sup>[10](https://dl.acm.org/doi/10.1145/3793302.3797249)</sup> 一项对157个开源项目中567个Claude Code生成的拉取请求的研究发现，83.8%最终被合并，其中54.9%的已合并拉取请求未经进一步修改即被整合；其余45.1%需要额外修改，尤其是缺陷修复、文档和项目特定标准方面。<sup>[15](https://dlnext.acm.org/doi/full/10.1145/3798166)</sup> 采用集中在新手群体：2025年近80%的新开发者在入驻平台的第一周内就采用了Copilot。<sup>[16](https://www.forbes.com/sites/janakirammsv/2025/11/01/10-key-takeaways-from-github-octoverse-2025-report/)</sup>

## Copilot版权诉讼

*Doe v. GitHub*案的起诉书指控Codex和Copilot在包括公开GitHub仓库在内的“数十亿行”公开可用代码上训练，且Copilot复制了受许可的训练代码，却缺失或不正确地标注了署名、版权声明和许可条款。<sup>[8](https://storage.courtlistener.com/recap/gov.uscourts.cand.403220/gov.uscourts.cand.403220.195.0_1.pdf)</sup> 起诉书还指出，GitHub的服务条款授予公司存储、归档、解析和展示上传内容的权利，而用户保留所有权；十三种建议的仓库许可证中有十一种要求在衍生作品中注明署名、版权声明和许可条款。<sup>[8](https://storage.courtlistener.com/recap/gov.uscourts.cand.403220/gov.uscourts.cand.403220.195.0_1.pdf)</sup>

2024年6月，加州北区联邦地区法院驳回DMCA索赔，且不允许就这些索赔再次起诉，理由是所称被复制的代码与原创作品不够相同，但允许基于涉嫌违反开源许可的合同违约索赔继续审理。<sup>[8](https://storage.courtlistener.com/recap/gov.uscourts.cand.403220/gov.uscourts.cand.403220.195.0_1.pdf)</sup> 2026年9月16日，第九巡回法院合议庭维持驳回针对GitHub、微软和OpenAI的DMCA索赔，认定Copilot和Codex创作的是从未包含版权管理信息的新作品，而非移除或更改CMI；合议庭还认定原告具有第三条规定的诉讼资格，因为他们合理指控Copilot在未署名的情况下复制其代码会带来未来损害的实质性风险。<sup>[7](https://storage.courtlistener.com/recap/gov.uscourts.ca9.08476fbf-f296-42a9-ba10-af35e4ec26ac/gov.uscourts.ca9.08476fbf-f296-42a9-ba10-af35e4ec26ac.126.1.pdf)</sup> 斯坦福大学的案件摘要将主要裁定表述为：生成不含版权管理信息的新作品不违反DMCA第1202(b)条，法院拒绝考虑原告的“输入”理论，视为已放弃。<sup>[17](https://fairuse.stanford.edu/case/doe-v-github-inc/)</sup>

## References

1. [GitHub vs GitLab vs Bitbucket 2025 Compared, Propicked](https://propicked.com/blog/github-vs-gitlab-vs-bitbucket-2025)
2. [Octoverse: A new developer joins GitHub every second as AI leads TypeScript to #1, GitHub Blog](https://github.blog/news-insights/octoverse/octoverse-a-new-developer-joins-github-every-second-as-ai-leads-typescript-to-1/)
3. [Pricing · Plans for every developer, GitHub](https://github.com/pricing)
4. [Product usage included in plans, GitHub Docs](https://docs.github.com/en/billing/reference/product-usage-included)
5. [Doe 3 et al. v. GitHub, Inc., No. 22-cv-7074-JST, ECF No. 95 (N.D. Cal.)](https://githubcopilotlitigation.com/pdf/06823/06823-95.pdf)
6. [Vibe coding with GitHub Copilot: Agent mode and MCP support rolling out to all VS Code users, GitHub Blog](https://github.blog/news-insights/product-news/github-copilot-agent-mode-activated/)
7. [Doe v. GitHub, Inc., No. 24-7700 (9th Cir. Sept. 16, 2026)](https://storage.courtlistener.com/recap/gov.uscourts.ca9.08476fbf-f296-42a9-ba10-af35e4ec26ac/gov.uscourts.ca9.08476fbf-f296-42a9-ba10-af35e4ec26ac.126.1.pdf)
8. [Doe 1 et al. v. GitHub, Inc. et al., No. 4:22-cv-06823-JST, Document 195 (N.D. Cal. 2024)](https://storage.courtlistener.com/recap/gov.uscourts.cand.403220/gov.uscourts.cand.403220.195.0_1.pdf)
9. [A Large-Scale Study of Modern Code Review and Security in Open Source Projects (PROMISE)](https://people.eecs.berkeley.edu/~daw/papers/coderev-promise17.pdf)
10. [AIDev: Studying AI Coding Agents on GitHub (MSR 2025)](https://dl.acm.org/doi/10.1145/3793302.3797249)
11. [GitHub's plans, GitHub Docs](https://docs.github.com/en/get-started/learning-about-github/githubs-plans)
12. [How does GitHub compare to other DevOps tools?, GitHub](https://github.com/resources/articles/devops-tools-comparison)
13. [We Dumped GitHub into DuckLake, Here's What We Found, Powerset Research](https://research.powerset.co/posts/github-in-2025)
14. [The State of GitHub Actions 2026, Latchkey](https://latchkey.dev/learn/reports/state-of-github-actions-2026)
15. [On the Use of Agentic Coding: An Empirical Study of Pull Requests on GitHub (TOSEM)](https://dlnext.acm.org/doi/full/10.1145/3798166)
16. [10 Key Takeaways From GitHub Octoverse 2025 Report, Forbes](https://www.forbes.com/sites/janakirammsv/2025/11/01/10-key-takeaways-from-github-octoverse-2025-report/)
17. [DOE v. GITHUB, INC., Stanford Copyright and Fair Use Center](https://fairuse.stanford.edu/case/doe-v-github-inc/)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Development tools and collaboration infrastructure › Version control and collaboration platforms

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/github

English original: https://www.edgepedia.org/github
