Understand the certification
GitHub Foundations 是 GitHub 2024 年推出的认证体系中最基础的一张。考试 75 题,120 分钟,及格线 70%,考试费 $99 USD,通过 PSI 在线监考。
考试覆盖 7 个领域:Git 基础(10%)、仓库管理(10%)、协作功能(15%)、现代开发(15%)、项目管理(20%)、安全隐私(15%)和社区(15%)。项目管理占比最高 — 考的是 GitHub Projects(看板)、Issues、Milestones 的使用方式,不是写代码。
GitHub 认证路径:Foundations → Actions → Admin → Advanced Security → Copilot。Foundations 是唯一不需要任何前置认证的入口。
Exam at a glance
- Exam code
- GitHub Foundations
- Provider
- 其他
- Format
- single-choice / multiple-choice
- Language
- English
- Validity
- 3 years
Skills in focus
Learning outcomes
- Pass the GitHub Foundations certification exam with confidence
- Master key concepts across all exam domains
- Identify and strengthen weak areas before the exam
Who this is for
- 学生和编程初学者,希望系统学习 GitHub 协作开发
- 初级开发者验证 Git 和 GitHub 基础技能
- 项目经理和产品经理了解 GitHub 项目管理功能
- 转行进入 IT 领域,需要掌握版本控制和协作工具的人
Before you start
- 基本的计算机操作能力
- 了解编程的基本概念(变量、函数、文件操作)
- 无需 Git 或 GitHub 使用经验(但有基础会更轻松)
Your learning path
3 chapters
Plan your preparation
- Learning hours
- 23h
- With relevant experience
- 1-2 weeks
- Starting from scratch
- 3-4 weeks
- Daily study
- 1-2h
Included in your preparation
- 116 practice questions with detailed explanations
- Mock exams simulating real test conditions
- AI-powered tutoring for personalized study
- Progress tracking and weak area identification
1. 第一阶段:Git 和 GitHub 基础(1 周)
clone/commit/push/pull/branch/merge 的完整工作流。理解 fork vs clone 的区别、PR 的 review + merge 流程、branch protection rules。这些内容在 GitHub Skills 上有免费互动课程。
2. 第二阶段:项目管理 + 安全(1 周)
GitHub Projects 看板的 Table/Board/Roadmap 视图、Issues 标签和 Milestones、GitHub Actions 基础概念(workflow/trigger/job/step)。安全部分考 Dependabot、Secret Scanning、Code Scanning 的用途。
3. 第三阶段:快速模考(2-3 天)
官方免费 Practice Assessment 做一遍,错题对应的知识点回 GitHub Docs 查一遍。这个考试不难,模考 80% 就可以去考。
Career value
谁考这张证有意义
应届生和转行者。在简历上写"GitHub Certified: Foundations"告诉雇主你至少会 PR workflow、branch protection、Issues 这些协作基础。对于没有工作经验的人,这比"我会用 Git"可信度高。
不适合考的人:已经在团队里用 GitHub 做 code review 一年以上的开发者。这张证对你来说太简单了,考 GitHub Actions 或 Copilot 认证更有意义。
- 澳洲
- AUD 65,000 – 90,000
- 美国
- USD 60,000 – 85,000
- 新加坡
- SGD 48,000 – 72,000
Preparation tips
- **GitHub Docs 是最好的备考材料**:考试题目几乎都能在 docs.github.com 找到原文,不需要买第三方课程。
- **记住各功能的定位**:Discussions(社区问答)vs Issues(任务追踪)vs Pull Requests(代码审核)。
- **GitHub Copilot 基础概念会考**:知道 Copilot 是 AI 编程助手、基于 LLM、支持多种 IDE 就够了,不需要深入。
Common mistakes
- **Fork 和 Branch 混淆** — Fork 是复制整个仓库到自己账户(跨组织协作用);Branch 是在同一仓库内创建分支(团队内部用)。
- **GitHub Pages 的限制** — 只支持静态网站,免费版仓库必须是 public,自定义域名需要 CNAME 记录。
- **忽略 GitHub Codespaces** — 考试会问 Codespaces 和本地开发环境的区别,Codespaces 是云端 VS Code,预配置好依赖。
Before you register
How difficult is the GitHub Foundations exam? Can I take it with no experience?
GitHub Foundations is the most entry-level certification in the GitHub certification program, suitable for people with basic programming or IT background but limited GitHub experience. It covers Git fundamentals (clone, commit, push, pull), core GitHub features (Issues, Pull Requests, basic Actions), collaboration workflows, and open source concepts. If you have used Git CLI or GitHub web interface regularly, 2-3 weeks of preparation should suffice. Complete beginners should spend 1-2 weeks learning Git basics first.
What domains does the GitHub Foundations exam cover and what are the weightings?
The exam covers 7 domains: (1) Introduction to Git and GitHub (~10%); (2) Working with GitHub (~10%); (3) Collaboration Features (~15%); (4) Modern Development (~15%); (5) Project Management (~10%); (6) Privacy, Security, and Administration (~15%); (7) GitHub Community and Open Source (~25%, the largest domain). Focus your study on open source contribution workflows (Fork → Clone → Branch → PR) and GitHub security features (Dependabot, Secret Scanning).
How long is the GitHub Foundations certification valid? How do I renew it?
GitHub certifications are valid for 3 years. Before expiration, you need to pass a Renewal Exam to extend your certification. Renewal exams are typically shorter than the initial exam and focus on new GitHub platform features and updates. GitHub will notify you via email before your certification expires. Stay current with the GitHub blog to keep up with platform changes for a smoother renewal process.
What do the open source questions cover? Do I need actual open source contribution experience?
Open source is the largest domain (~25%), but actual contribution experience is not required. The exam tests conceptual knowledge: differences between open source licenses (MIT, GPL, Apache 2.0), how to contribute to projects via Fork + PR, the purpose of CONTRIBUTING.md and CODE_OF_CONDUCT.md, GitHub Sponsors, and InnerSource concepts. Reading contribution guides from well-known open source projects is a great way to build intuition.
What is the difference between GitHub Foundations and GitHub Actions certifications? Which should I take first?
GitHub Foundations covers broad knowledge across the GitHub platform (Git, collaboration, open source, security, project management) as an entry-level cert. GitHub Actions focuses deeply on CI/CD automation workflows (YAML syntax, runners, secrets, composite actions). Start with Foundations to build a comprehensive base, then pursue Actions for automation depth. The Foundations exam only touches on basic Actions concepts — it will not test complex workflow configurations.
What is the exam format? Can I take it online? Can I retake it if I fail?
The exam can be taken online proctored or at a PSI testing center. Online exams require a stable internet connection, webcam, and microphone — you cannot leave your seat during the exam. Questions include single-select and multi-select formats; multi-select questions indicate how many answers to choose. If you fail, you can reschedule after 24 hours with no limit on retake attempts, though each attempt requires paying the exam fee again.
Learner experiences
Loading reviews…
比预想简单很多,大部分题考的是 GitHub 功能的用途而不是操作步骤。比如"Branch Protection Rule 可以做什么" — 答案是强制 PR review、要求 CI 通过、禁止 force push。建议把 GitHub Docs 的功能列表过一遍。
大二计算机学生
通过 · 2 weeks
没有编程背景也能过,但 Git 的 rebase 和 merge 区别要理解。项目管理部分对我来说是最容易的 — 如果你用过 Jira 或 Trello,GitHub Projects 的概念几乎一样。
转行产品经理
通过 · 3 weeks
Compare your next options
Start with the first chapter.
2 free chapters · Full preparation from $19