GitHub Foundations Branching and Merging 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: 8865 | Total Attempts: 106,055
| Attempts: 12 | Questions: 20 | Updated: Aug 15, 2026
Please wait...
Question 1 / 21
🏆 Rank #--
0 %
0/100
Score 0/100

1. When resolving a merge conflict manually, you must choose between ____.

Submit
Please wait...
About This Quiz
GitHub Foundations Branching and Merging Quiz - Quiz

This quiz tests your understanding of Git branching and merging workflows in GitHub. You'll assess your knowledge of creating branches, managing merge conflicts, and integrating code changes effectively. Essential for developers working in collaborative environments, these concepts are foundational to modern version control practices.

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. Which of the following best describes a feature branch workflow?

Submit

3. The 'origin' in 'origin/main' refers to ____.

Submit

4. What is a 'stale branch' in Git?

Submit

5. In GitHub, branch protection rules prevent ____.

Submit

6. How do you switch to an existing branch?

Submit

7. What is the difference between 'git merge' and 'git rebase'?

Submit

8. A merge commit is created when ____.

Submit

9. Which command shows the commit history of the current branch?

Submit

10. What does 'rebasing' accomplish in Git?

Submit

11. What is the primary purpose of creating a branch in Git?

Submit

12. What is the purpose of a Pull Request (PR) in GitHub?

Submit

13. How do you delete a local branch that is no longer needed?

Submit

14. What command lists all branches in your local repository?

Submit

15. A fast-forward merge occurs when ____.

Submit

16. Which merge strategy combines all commits from a feature branch into a single commit on the target branch?

Submit

17. What is a merge conflict?

Submit

18. In Git, the default branch is typically named ____.

Submit

19. What does 'HEAD' refer to in Git?

Submit

20. Which command creates a new branch and switches to it in one step?

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
When resolving a merge conflict manually, you must choose between...
Which of the following best describes a feature branch workflow?
The 'origin' in 'origin/main' refers to ____.
What is a 'stale branch' in Git?
In GitHub, branch protection rules prevent ____.
How do you switch to an existing branch?
What is the difference between 'git merge' and 'git rebase'?
A merge commit is created when ____.
Which command shows the commit history of the current branch?
What does 'rebasing' accomplish in Git?
What is the primary purpose of creating a branch in Git?
What is the purpose of a Pull Request (PR) in GitHub?
How do you delete a local branch that is no longer needed?
What command lists all branches in your local repository?
A fast-forward merge occurs when ____.
Which merge strategy combines all commits from a feature branch into a...
What is a merge conflict?
In Git, the default branch is typically named ____.
What does 'HEAD' refer to in Git?
Which command creates a new branch and switches to it in one step?
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!