GitHub Knowledge Check
Record answers before expanding feedback. Score one point each; 10/12 meets the 80% threshold.
- Which area contains content proposed for the next commit: working tree, index, remote, or release?
- What does
git fetchchange? - Why pair CODEOWNERS with a ruleset?
- Name two qualities of a testable acceptance criterion.
- A status check passes but the user need is unmet. May the PR be accepted solely because it is green?
- What is the first response to a committed live token?
- Why is
pull_request_targetdangerous with an untrusted checkout? - What does
permissions: contents: readaccomplish in an Actions workflow? - Which is safer for reproducible Node CI:
npm installwithout a lockfile ornpm ciwith one? - What is the difference between a tag and a GitHub release?
- Name one flow and one stability measure.
- Who owns the final decision when an AI tool recommends a change?
Answer key and feedback
- Index/staging area. 2. Remote-tracking knowledge, without automatically changing the working branch. 3. Ownership routes review; enforcement requires protection. 4. Observable and unambiguous (also bounded/relevant). 5. No. 6. Revoke/rotate, then investigate and remediate history/prevention. 7. It can expose privileged context to attacker-controlled code. 8. Limits the workflow token to read repository contents. 9.
npm ciwith a committed lockfile. 10. A tag names a Git object; a release adds notes/assets and publishing state. 11. Example: lead time and change-failure rate. 12. The authorized human/team accountable for the change.rn