CertsPoint
See all results for ""
Exams About Us
Sign In Get Started
Exam Overview
Exam Code GitHub-Foundations
Exam Name GitHub Foundations
Vendor GitHub
Total Questions 561
Last Updated 26-Oct, 2026
Why CertsPoint?
  • Latest & Verified Questions
  • Detailed Explanations
  • Regular Updates
  • Full-Length Practice Tests
  • Boost Your Exam Confidence

PDF Study Materials

Downloadable guides and resources

Practice Tests

Full-length tests with real exam experience

Progress Tracking

Monitor your performance and improvement

Study Anywhere

Access on desktop, tablet, and mobile

Excellent
4.6 (398 Up Votes)
Secure Payment Privacy Protected Money Back Guarantee

Free GitHub-Foundations Practice Questions

Explore 5 free practice questions for the GitHub GitHub-Foundations exam and review the answers and explanations to support your preparation.

  1. Question 1

    Single answer

    Which of the following best describes GitHub flow?

    • Option A:

      A branching model that uses feature branches and multiple primary branches

      Correct
    • Option B:

      A strategy where separate branches are created for each release, and pull requests are used to collaborate on and approve releases

      Correct
    • Option C:

      A lightweight workflow that allows for safe experimentation with new ideas and collaboration on projects through branching, pull requests, and merging

      Correct
    • Option D:

      A strict workflow that enforces a linear development process with all changes made directly on the main branch

      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: C

    Explanation

    GitHub Flow is a simple, yet powerful, branching strategy that is widely used in modern software development. It emphasizes collaboration and flexibility.

      GitHub Flow:

        Option C is correct because GitHub Flow is a lightweight workflow designed for safe experimentation and collaboration. It involves creating branches for new features or fixes, opening pull requests for review, and merging changes back into the main branch after approval.

      Incorrect Options:

        Option A is incorrect because GitHub Flow uses a single main branch, not multiple primary branches.

        Option B is incorrect because GitHub Flow is not specifically designed around releases; it is more focused on continuous development and integration.

        Option D is incorrect because GitHub Flow is not strict or linear; it encourages branching and pull requests rather than direct changes on the main branch.

    References:

      GitHub Docs: Understanding the GitHub Flow

      GitHub Guides: The GitHub Flow

  2. Question 2

    Single answer

    Which of the following statements most accurately describes who can access a private repository Wiki?

    • Option A:

      Wikis are only viewable by repository admins.

      Correct
    • Option B:

      Wikis can be viewed by the same people who have Read access to the repository.

      Correct
    • Option C:

      Wikis will not be visible until shared with a specific user.

      Correct
    • Option D:

      Wikis are public regardless of whether you have access to the repository.

      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: B

    Explanation

    For private repositories on GitHub, the Wiki is accessible to anyone who has Read access to the repository. This means that if you can view the code and files in the repository, you can also view its Wiki. This makes Wikis a useful tool for documenting projects in a way that is available to all collaborators without requiring special permissions beyond those needed to access the repository itself.

  3. Question 3

    Single answer

    New open source contributors can receive funding from GitHub sponsors:

    • Option A:

      Using PayPal as a payment processor.

      Correct
    • Option B:

      Equal to 95% of the contribution value.

      Correct
    • Option C:

      By including GitHub matching funds.

      Correct
    • Option D:

      After setting up a sponsored developer profile.

      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: D

    Explanation

    GitHub Sponsors allows developers and organizations to financially support open-source contributors directly on the GitHub platform.

      Setting Up a Sponsored Developer Profile:

        Option D is correct because before a contributor can receive funding through GitHub Sponsors, they need

  4. Question 4

    Multiple answers

    Which of the following steps are part of the Codespaces lifecycle?

    (Each answer presents a complete solution. Choose three.)

    • Option A:

      Commit

      Correct
    • Option B:

      Clone

      Correct
    • Option C:

      Rebuild

      Correct
    • Option D:

      Rollback

      Correct
    • Option E:

      Delete

      Correct
    • Option F:

      Create

      Correct
    • Option G:

      Install

      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: C, E, F

    Explanation

    The Codespaces lifecycle on GitHub includes several key steps:

      Create : This is the step where a new Codespace is initiated.

      Rebuild : A Codespace can be rebuilt to ensure that the environment is up-to-date with the latest code or configurations.

      Delete : Once a Codespace is no longer needed, it can be deleted to free up resources.

    Committing, cloning, or installing are typical Git operations but are not considered part of the specific lifecycle steps for a GitHub Codespace.

  5. Question 5

    Multiple answers

    What are two recommended ways of improving the discoverability of a repository?

    (Each answer presents a complete solution. Choose two.)

    • Option A:

      Register the repository with GitHub search.

      Correct
    • Option B:

      Create a README file describing the repository.

      Correct
    • Option C:

      Add labels to categorize the repository.

      Correct
    • Option D:

      Add topics to classify the repository.

      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: B, D

    Explanation

    Two recommended ways to improve the discoverability of a repository on GitHub are:

      B. Create a README file describing the repository : A well-written README file provides essential information about the project, such as what it does, how to use it, and how to contribute. This is often the first thing potential users or contributors will see, making it critical for discoverability.

      D. Add topics to classify the repository : Adding topics to your repository helps classify it under specific categories, making it easier for others to find it through GitHub’s search and exploration features. Topics act like tags, helping to connect your project with users interested in similar subjects.

    Registering a repository with GitHub search and adding labels are not applicable actions for improving discoverability in the broader sense.