Skip to content

GitHub Repositories Questions

Practice questions for GitHub Repositories topic in GitHub Foundations. 28 questions covering this domain.

28 questions8 easy13 medium7 hard
Q1
medium

What does the Insights tab of a GitHub repository provide?

Q2
easy

Which file in a GitHub repository provides a description of the project and is rendered on the repository's main page?

Q3
medium

What is the purpose of a CODEOWNERS file in a GitHub repository?

Q4
medium

Which repository file is typically used to explain how external contributors should propose changes, follow standards, and submit pull requests?

Q5
easy

How can you quickly create a new branch in a GitHub repository using the web interface?

Q6
medium

What is the purpose of the SECURITY.md file in a GitHub repository?

Q7
medium

Which of the following best describes a repository template on GitHub?

Q8
medium

Who can make an existing repository into a template repository?

Q9
easy

A project owner wants to state the legal terms for using and sharing the project. Which file is intended for that?

Q10
hard

A team changes a public repository to private on GitHub Free for organizations. What happens to a GitHub Pages site published from that repository?

Q11
hard

A company changes a private repository to public. Which change does GitHub apply immediately?

Q12
easy

A maintainer wants to explain how contributors should submit changes and follow project conventions. Which file should they add?

Q13
medium

A repository contains README files in .github/, the repository root, and docs/. Which README does GitHub show on the repository homepage?

Q14
hard

A public repository is switched to private. What happens to public forks of that repository?

Q15
medium

A repository was transferred to a new owner. Git commands from an old local clone still redirect, but what should maintainers do to avoid confusion?

Q16
hard

What can happen if a private repository is transferred to a GitHub Free user or organization account?

Q17
easy

After a repository is archived, what can contributors with existing access still do?

Q18
easy

A maintainer archives a repository that is no longer actively maintained. What is the main result?

Q19
medium

Which statement about repository topic suggestions is correct?

Q20
hard

A CODEOWNERS file grows beyond 3 MB. What is the result?

Sign in to see all 28 questions

Create a free account to browse all questions — completely free during our launch phase.