Skip to content

GH-900 · Domain 7: Explore the GitHub community · 8% of the exam

Task 7.1: Open-source engagement

Why open source matters, GitHub Sponsors, following people and organizations, GitHub Marketplace, InnerSource, and choosing between forks, templates and discoverable repositories.

Study it

  • Open source on GitHub and GitHub Sponsors

    Lesson coming

  • Following people and organizations, and GitHub Marketplace

    Lesson coming

  • InnerSource, forks, templates and discoverable repositories

    Lesson coming

Sample questions

Try each one before opening the answer. Every option is explained, with the GitHub documentation page that proves it.

Question 1 · choose 1

A team wants to start a new, independent internal service from a starter repository's files. It doesn't want the starter's commit history, doesn't plan to send changes back, and wants its commits to count toward each developer's contribution graph. Which approach fits?

  1. AFork the starter repository
  2. BClone the starter and push all of it to a new repository
  3. CCreate the repository from the starter marked as a template
  4. DAdd the starter as a submodule of an empty repository
Show the answer and why
  • AFork the starter repository

    Incorrect

    A fork includes the entire commit history, and commits to a fork don't appear in the contributions graph.

  • BClone the starter and push all of it to a new repository

    Incorrect

    That brings the whole commit history along, which the team doesn't want.

  • CCreate the repository from the starter marked as a template

    Correct

    A repository from a template starts with a single commit and is a new project; its commits count in contribution graphs.

  • DAdd the starter as a submodule of an empty repository

    Incorrect

    That links to the starter instead of starting a new project from its files.

Creating a repository from a template is similar to forking, with important differences: a fork includes the entire commit history of the parent, while a repository created from a template starts with a single commit. Commits to a fork don't appear in your contributions graph, but commits to a repository created from a template do. A fork suits contributing to an existing project; a template suits starting a new one.

Question 2 · choose 1

A junior developer admires a well-known open source contributor and wants to keep up with what that person works on publicly. What should he do?

  1. AFollow the contributor to see their public activity on his dashboard
  2. BWatch every repository the contributor has ever touched
  3. CFork the contributor's repositories
  4. DSponsor the contributor, which is required before anyone can see their activity
Show the answer and why
  • AFollow the contributor to see their public activity on his dashboard

    Correct

    Following people shows their public activity on your dashboard and can surface repositories they star.

  • BWatch every repository the contributor has ever touched

    Incorrect

    Watching sends notifications for those repositories, not a view of the person's activity.

  • CFork the contributor's repositories

    Incorrect

    Forks copy repositories; they don't follow a person.

  • DSponsor the contributor, which is required before anyone can see their activity

    Incorrect

    Nobody needs to sponsor someone to see their public activity; following is free.

When you follow people on GitHub, you see their public activity on your personal dashboard, and if someone you follow stars a public repository, GitHub may recommend it to you. You can unfollow someone at any time.

Question 3 · choose 2

A CTO hears about InnerSource and asks what it would mean for the company. Which two statements are accurate? (Choose TWO.)

  1. AThe company must publish all of its proprietary code publicly as open source projects
  2. BOnly one team may contribute to each repository
  3. CIt replaces pull requests with direct pushes to main
  4. DEngineers build internal software with the practices of open source projects
  5. ETeams can find and reuse each other's internal projects
Show the answer and why
  • AThe company must publish all of its proprietary code publicly as open source projects

    Incorrect

    InnerSource doesn't mean sharing proprietary software publicly.

  • BOnly one team may contribute to each repository

    Incorrect

    InnerSource encourages contributions from across the organization.

  • CIt replaces pull requests with direct pushes to main

    Incorrect

    Issues and pull requests are core InnerSource tools.

  • DEngineers build internal software with the practices of open source projects

    Correct

    InnerSource is a methodology that applies open source best practices to internal development.

  • ETeams can find and reuse each other's internal projects

    Correct

    InnerSource makes internal code easy to find and reuse.

InnerSource is a development methodology in which engineers build proprietary software using best practices from large open source projects. It brings transparency, encourages contributions from across the company and makes internal code easy to discover and reuse. It doesn't imply reduced security: proprietary code doesn't have to be shared publicly, and only people with the right permissions contribute.

Question 4 · choose 1

A developer who has been active on GitHub for a year wants project recommendations, including beginner-friendly issues, tailored to what he has contributed to and starred. Where should he look?

  1. AThe repository's Insights tab
  2. BExplore GitHub
  3. CHis notifications inbox
  4. DGitHub Marketplace
Show the answer and why
  • AThe repository's Insights tab

    Incorrect

    Insights shows one repository's activity, not recommendations for him.

  • BExplore GitHub

    Correct

    Explore offers personalized recommendations based on past contributions, stars and other activity.

  • CHis notifications inbox

    Incorrect

    The inbox lists updates from subscriptions, not recommendations.

  • DGitHub Marketplace

    Incorrect

    Marketplace offers tools to add to your work, not projects to contribute to.

If you've been active on GitHub, Explore GitHub gives personalized recommendations for projects and beginner-friendly issues based on your past contributions, stars and other activity.

Question 5 · choose 1

What is GitHub Sponsors for?

  1. AAdvertising sponsored repositories on GitHub's home page and in search
  2. BBuying extra Actions minutes
  3. CFinancially supporting the people who maintain open source projects
  4. DPaying for a repository's GitHub Pages hosting
Show the answer and why
  • AAdvertising sponsored repositories on GitHub's home page and in search

    Incorrect

    Sponsors isn't an advertising service.

  • BBuying extra Actions minutes

    Incorrect

    Minutes are bought through billing.

  • CFinancially supporting the people who maintain open source projects

    Correct

    That is the purpose of GitHub Sponsors.

  • DPaying for a repository's GitHub Pages hosting

    Incorrect

    Sponsors supports maintainers, not hosting.

GitHub Sponsors allows the developer community to financially support the people and organizations who maintain the open source projects they depend on, directly on GitHub.

Question 6 · choose 1

Where can a developer browse the repositories that are popular on GitHub today?

  1. AThe Trending page
  2. BHer notifications inbox
  3. CHer organization's audit log
  4. DA repository's Pulse view
Show the answer and why
  • AThe Trending page

    Correct

    Trending shows popular repositories of the day.

  • BHer notifications inbox

    Incorrect

    The inbox lists updates she is subscribed to.

  • CHer organization's audit log

    Incorrect

    That log belongs to one organization; it doesn't list repositories that are popular across GitHub.

  • DA repository's Pulse view

    Incorrect

    Pulse covers one repository.

To find projects, you can visit a topic page, search by topic, or browse popular repositories of the day on the Trending page.

Question 7 · choose 1

What kinds of tools does GitHub Marketplace offer?

  1. AGists and wikis
  2. BGitHub Actions and apps
  3. CCodespaces and self-hosted runners
  4. DIssues and discussions
Show the answer and why
  • AGists and wikis

    Incorrect

    Those are GitHub features, not Marketplace tools.

  • BGitHub Actions and apps

    Correct

    Marketplace offers actions and apps.

  • CCodespaces and self-hosted runners

    Incorrect

    Those aren't Marketplace listings.

  • DIssues and discussions

    Incorrect

    Those are collaboration features.

GitHub Marketplace connects you to developers who want to extend and improve their GitHub workflows. It offers two types of tools, GitHub Actions and apps, and listings can be free or paid.

Question 8 · choose 1

How does a developer add a README to her GitHub profile page?

  1. AAdd a README to any private repository she owns and pin that repository
  2. BStar her own repositories
  3. CFollow her own account
  4. DAdd a README to a public repository named after her username
Show the answer and why
  • AAdd a README to any private repository she owns and pin that repository

    Incorrect

    The repository must be public and named after her username.

  • BStar her own repositories

    Incorrect

    Stars don't add a profile README.

  • CFollow her own account

    Incorrect

    Following doesn't change the profile.

  • DAdd a README to a public repository named after her username

    Correct

    GitHub shows that README on her profile.

GitHub displays a profile README on your profile page when you have created a repository whose name matches your username, the repository is public, and it contains a README file.

Practise domain 7 →Practise all domains →