Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GitHub Exam GitHub-Foundations Topic 4 Question 21 Discussion

Actual exam question for GitHub's GitHub-Foundations exam
Question #: 21
Topic #: 4
[All GitHub-Foundations Questions]

Pull requests can only be created between two branches that are:

Show Suggested Answer Hide Answer
Suggested Answer: D

Pull requests are created to propose changes from one branch to another. These branches must be different; otherwise, there would be no changes to propose. Typically, pull requests are made from a feature or topic branch to a main branch (such as main or master), allowing for code review and integration before the changes are merged.


Contribute your Thoughts:

Lisha
9 days ago
B, because a pull request is all about collaboration, and that means different users. Unless you're some kind of Git wizard who can pull request to themselves.
upvoted 0 times
...
Rashida
12 days ago
Easy peasy, it's option D. If the branches were the same, you'd just be merging, not creating a pull request.
upvoted 0 times
...
Tamala
15 days ago
C'mon, everyone knows the answer is D. Anybody who thinks it's A or C needs to brush up on their Git basics.
upvoted 0 times
...
Luis
18 days ago
I'm going with B. The branches need to be authored by different users for a pull request to make sense.
upvoted 0 times
...
Martin
27 days ago
Definitely D. Trying to create a pull request between the same branch would be like trying to pull yourself up by your own bootstraps.
upvoted 0 times
...
Gail
28 days ago
I think the answer is D. The branches can't be the same, they need to be different for a pull request.
upvoted 0 times
Flo
3 days ago
I agree, the branches for a pull request need to be different.
upvoted 0 times
...
...
Fausto
1 months ago
I'm not sure, but I think it's either C) The same or D) Different. Can someone explain the rationale behind the correct answer?
upvoted 0 times
...
Larae
2 months ago
I agree with Loren, because pull requests are usually made between different branches.
upvoted 0 times
...
Loren
2 months ago
I think the answer is D) Different.
upvoted 0 times
...

Save Cancel