GitHub Foundations Issues and Pull Requests Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Questions: 20 | Updated: Aug 15, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. Draft pull requests in GitHub are used for which purpose? Select all that apply.

Explanation

Draft pull requests signal that code is still in progress and not yet ready for formal review. They help prevent accidental merging while work continues, while still allowing contributors to share changes and gather early feedback. They do not automatically block all CI/CD checks.

Submit
Please wait...
About This Quiz
GitHub Foundations Issues and Pull Requests Quiz - Quiz

Test your understanding of GitHub Issues and Pull Requests, two core collaboration features in version control. This quiz covers issue management, pull request workflows, code review processes, and best practices for collaborative development. Ideal for developers learning GitHub Foundations and preparing for certification or improving team collaboration skills.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. A 'stale' pull request or issue in GitHub indicates it has not been updated for a long time and may need attention or closure.

Explanation

A stale pull request or issue has had no recent activity or updates. It may need someone to review it, request more information, move it forward, or close it if it is no longer relevant. તેથી, the statement is true.

Submit

3. In GitHub Issues, 'assignees' are used to indicate who is ____ for the task.

Explanation

Assignees in GitHub Issues identify the people expected to handle or work on a task. Assigning an issue makes it clear who is responsible for following up and completing it.

Submit

4. Which workflow best describes a feature branch strategy?

Explanation

A feature branch strategy isolates each new feature or change in its own branch, keeping the main branch stable. Once the work is complete and reviewed, the branch is merged into the main branch through a pull request. This supports collaboration, code review, and easier testing.

Submit

5. A 'commit' in Git represents a ____ of changes with a unique identifier.

Explanation

A Git commit records a snapshot of the project’s files at a particular point in time. Each commit has a unique identifier, allowing you to track changes and return to that version later.

Submit

6. GitHub's 'Conversations' tab in a PR is used for which purposes? Select all that apply.

Explanation

The Conversations tab provides a space to discuss proposed changes, ask questions, and submit a review decision, such as approving the PR or requesting changes. Commit history is viewed elsewhere, and comments tied to specific code lines are typically added through the Files changed tab.

Submit

7. What does 'rebase' accomplish in Git?

Explanation

Rebase moves or reapplies a branch’s commits onto a new base commit, creating a linear project history without a merge commit. It can make the sequence of changes easier to follow, but may rewrite commit history.

Submit

8. True or False: Once a pull request is merged, the source branch is automatically deleted.

Explanation

Merging a pull request does not necessarily delete its source branch. Whether the branch is removed depends on repository settings, merge options, or manual action. Some platforms offer an automatic branch-deletion option after merging, but it may be disabled or unavailable, so the branch can remain.

Submit

9. The 'description' field in an issue or PR should include ____ about the changes or problem.

Explanation

The description field should include details about the changes made or the problem being reported, helping others understand the issue or PR without needing to infer its purpose.

Submit

10. In GitHub, what is a 'milestone'?

Explanation

A milestone in GitHub groups related issues and pull requests around a shared goal, such as a release. It helps teams track progress and see which tasks remain before that goal is reached.

Submit

11. What is the primary purpose of a GitHub Issue?

Explanation

GitHub Issues help teams organize and discuss work within a repository. They can be used to report bugs, suggest features, assign tasks, add labels, and track progress. They are not intended for storing code backups, deploying applications, or managing user authentication.

Submit

12. What is a 'conflict' in a pull request?

Explanation

A pull request conflict occurs when changes on the source branch cannot be automatically combined with changes on the target branch, typically because both branches modified the same part of a file differently. The conflicting changes must be resolved before the pull request can be merged.

Submit

13. A branch in Git is a ____ of development that allows parallel work.

Explanation

A Git branch is a separate line of development within a repository. It lets developers work on features or fixes in parallel without affecting the main line of work, then merge their changes when they are ready.

Submit

14. Which GitHub feature allows you to request specific people to review your code before merging?

Explanation

Reviewers lets you request specific people to examine and comment on your code changes in a pull request before it is merged. This helps catch issues and gather feedback. Assignees are responsible for work, while watchers and collaborators serve different notification or access roles.

Submit

15. GitHub Issues can be linked to pull requests to automatically close them when the PR is merged.

Explanation

A GitHub issue can be linked to a pull request using closing keywords such as “Fixes,” “Closes,” or “Resolves,” followed by the issue number. When the pull request is merged into the default branch, GitHub automatically closes the linked issue.

Submit

16. What does 'merge' mean in the context of pull requests?

Explanation

In a pull request, merging integrates the proposed changes from one branch into another, such as adding a feature branch’s updates to the main branch. This makes the changes part of the target branch’s history and available to the rest of the project.

Submit

17. A code review in a pull request typically involves examining changes for which of the following? Select all that apply.

Explanation

A pull request review checks whether changes behave as intended and meet requirements. Reviewers also assess readability, consistency, and adherence to established style and best practices. They look for performance bottlenecks and security vulnerabilities that could affect reliability or users. Personal preferences are not suitable review criteria; feedback should be objective and relevant to maintainability and quality.

Submit

18. What is the default branch in most GitHub repositories?

Explanation

Most GitHub repositories use **main** as the default branch. It is the primary branch where stable, ongoing project work is commonly maintained, and it is selected automatically when users view or clone a repository unless the repository owner changes the setting.

Submit

19. In GitHub, labels on issues are primarily used for ____.

Explanation

Labels are tags added to GitHub issues to group and identify them by topic, priority, status, or type. This makes issues easier to filter, search, and manage.

Submit

20. Which of the following best describes a Pull Request?

Explanation

A pull request proposes merging changes made in one branch into another. It lets collaborators review the changes, discuss them, and request updates before the merge is completed.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Draft pull requests in GitHub are used for which purpose? Select all...
A 'stale' pull request or issue in GitHub indicates it has not been...
In GitHub Issues, 'assignees' are used to indicate who is ____ for the...
Which workflow best describes a feature branch strategy?
A 'commit' in Git represents a ____ of changes with a unique...
GitHub's 'Conversations' tab in a PR is used for which purposes?...
What does 'rebase' accomplish in Git?
True or False: Once a pull request is merged, the source branch is...
The 'description' field in an issue or PR should include ____ about...
In GitHub, what is a 'milestone'?
What is the primary purpose of a GitHub Issue?
What is a 'conflict' in a pull request?
A branch in Git is a ____ of development that allows parallel work.
Which GitHub feature allows you to request specific people to review...
GitHub Issues can be linked to pull requests to automatically close...
What does 'merge' mean in the context of pull requests?
A code review in a pull request typically involves examining changes...
What is the default branch in most GitHub repositories?
In GitHub, labels on issues are primarily used for ____.
Which of the following best describes a Pull Request?
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!