Illustration
Upgrade now
Illustration
Upgrade now

Pull Request

Summary:

On most teams, changes reach a shared project on GitHub through a pull request, and more and more of those pull requests are now opened by AI agents rather than people. For designers and product managers, that page is where a change can still be questioned, adjusted, or stopped before it goes live. Reading pull requests is how people who don't write code get a real say in what ships.

Pull Request

What is a pull request?

A pull request is a proposal to merge the commits on a branch into another branch, most often the main one, along with a page where the change can be discussed, reviewed, and approved first. GitHub's documentation describes pull requests as proposals to merge code changes into a project and calls them the platform's key collaboration feature. The name comes from asking a project's owners to pull a set of changes into their version, and people often shorten it to PR.

Opening a pull request changes nothing on its own. The branch keeps its commits, the main branch stays exactly as it was, and the proposal waits until someone with permission presses the merge button. That gap between proposing and merging is what makes a pull request a safe place to show work before it's final. Even people who could commit straight to the main branch often open one, so every change gets a second look and a written record of why it was made.

How does a pull request work?

Every pull request connects 2 branches. The base branch is where the changes should go, usually main, and the compare branch, also called the head branch, holds the new work. The page splits the proposal into tabs. The Conversation tab holds the description, comments, and reviews. Commits shows how the branch changed over time, Checks reports automated tests and builds, and Files changed shows the diff, a line-by-line view of what was added and removed.

A pull request isn't a frozen snapshot. Any new commit pushed to the compare branch joins it automatically, and comments stay attached to the lines they were about. Teammates ask questions and request edits through code review, the author answers with more commits, and the cycle can run for several rounds. In practice, a pull request is mostly a conversation, with the merge button at the very end of it.

What states can a pull request be in?

Every pull request carries a colored label next to its title that shows which of 4 states it's in:

  • Open (green) is waiting for review and merge.
  • Draft (gray) is open but marked as unfinished.
  • Merged (purple) has its changes in the base branch.
  • Closed (red) ended without merging.

A draft pull request shares unfinished work without asking for approval: it can't be merged until someone marks it ready for review, and code owners, the people responsible for specific files, aren't automatically asked to review it. Marking it ready turns it into a normal pull request and sends those review requests, and it can go back to draft at any time. The How to Open a Pull Request on GitHub lesson shows when a draft is the better choice.

Closed doesn't mean deleted. A closed pull request keeps its branch, commits, and full conversation, and it can be reopened later. Even the pull requests that never merge leave a record of what was tried and why it was set aside.

How does a pull request differ from an issue?

Issues and pull requests look alike on GitHub. Both have titles, comments, labels, and assignees, and they draw numbers from the same sequence, so #14 could be either. The difference is what they hold. An issue describes a problem or a task in words, like a bug report or a request for new copy. A pull request contains actual changes to files, ready to be reviewed and merged.

The 2 usually work as a pair. The issue explains what needs doing and why, and the pull request does it. A keyword in the pull request description, such as Closes #14, links them, and merging the pull request closes the issue automatically, as long as it targets the repository's default branch. An issue is the place to agree on whether something should happen, and a pull request is the place to judge how it was done.

Keeping the 2 apart means nobody spends a review on changes that weren't wanted, and anyone reading the issue later can follow the trail to the change that resolved it. The How to Track Work with GitHub Issues lesson shows how that link is made.

Why do pull requests matter for designers and product teams?

A pull request is the cheapest point at which to influence a change. A comment before the merge costs far less than a fix after it, and following the change rarely requires reading code, because screenshots and preview links in the pull request show the result directly. The page also keeps the whole exchange in a single place, so anyone who later asks why a change was made can read the answer.

Designers and product managers also open pull requests of their own, and the ones that move quickly share a few traits. The title summarizes the result, such as Add allergy notes to the menu page rather than Menu changes, because it appears in lists and notifications before anyone opens the page. Visual changes come with before-and-after screenshots, so reviewers can judge a layout or copy change without running anything. A pull request that explains itself gets a faster and better review.

A pull request template, a Markdown file that pre-fills every new description with the same headings and checklist, builds those habits in, so pull requests arrive with the same structure whoever or whatever opened them.

How have pull requests changed with AI?

A growing share of pull requests is opened by software rather than people. GitHub reported that its coding agent alone created more than 1 million pull requests between May and September 2025. AI tools also differ in how much they leave to a person: some open a pull request and wait for someone to review and merge it, while some app builders merge their own pull requests as part of publishing.

Agents also tend to leave their pull requests in draft. A study of 33,596 pull requests from 5 coding agents, presented at the EASE 2026 software engineering conference, found that only 9.8% were ever marked ready for review, and in 94.7% of those cases a person, not the agent, marked it ready. A review request on an agent's draft is a call for attention, not a sign that the work is finished. Knowing which tool opened a pull request, and whether a person still has to approve it, is now the first question to ask about any of them.

What does a pull request look like in practice?

On GitHub, a pull request opens with a header that answers the first questions at a glance: the title and number, the state label, and a line saying who wants to merge how many commits into which branch, and from where. Tab counters below it show how many comments, commits, checks, and changed files it holds. Those numbers alone can reveal a mismatch before anyone reads a line of code.

A GitHub pull request titled Fix typo on the pricing page, number 42, with a green Open label, a line saying Copilot wants to merge 3 commits into main from copilot/fix-pricing-typo, tabs for Conversation, Commits, Checks, and Files changed with 14 files, and a short comment from the Copilot bot

A pull request shows how big a change really is before anyone merges it, so a typo fix touching 14 files stands out. From the lesson How to Review an AI Agent's Pull Request.

The description sits at the top of the Conversation tab, written by whoever opened the pull request. A short structure covers most changes: what changed, why, and how to check it, with the related issue linked by its number. A reviewer can only judge whether a change is right after learning what it was meant to do.

A pull request description posted by maya, marked as Author, with 3 labeled lines: What, allergy notes on every menu item. Why, customers keep asking about nuts, with issue #14. How to check, open the preview, then the menu

A good description tells reviewers what changed, why, and how to check it, which makes the review faster and safer.

Frequently Asked Questions

How does a pull request differ from a merge request in GitLab?
Why is it called a pull request?
Can anyone open a pull request on someone else's repository?
How big should a pull request be?
What are stacked pull requests?
Avatars

Join 500,000+ product professionals leveling up with Uxcel

Interactive learning built for busy professionals. Advance your UX design or product management career in just 5 minutes a day.
Icon

Over 60 courses

Icon

Recognized certificates

Icon

Career paths & more

Company logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logo
Stars

Successfully transforming people’s careers & lives

4.8/5
Avatars

10,000+ verified public & course reviews

Photo

With Uxcel, I've gained so much confidence talking with clients.

Blake Feldman
Product Designer · 15+ years in design
Photo

Uxcel helped me level up from a junior to a senior designer

Chieri Wada
UX/UI Designer · 8+ years in design
Photo

Uxcel really helped me during my career change.

Ryan Blackwell
UX Designer & Writer · 5+ years in design
Photo

Uxcel is in my browser favorites, I use it for a ton of stuff.

Matt Salik
UX designer · 20+ years in design
Photo

Love the certifications, love the price. Thumbs up Uxcel.

Phil Campbell
Information Architect · 1 year in design