What is a pull request on GitHub and what is it for to review it?
Published on 2026-10-20 by frfrand
What is a pull request, how to propose changes, review differences, run tests, and merge without losing control of the project.

Short answer: A pull request is a proposal to integrate code changes from one branch into another, usually after discussing and reviewing them. On GitHub, it brings together the change description, modified files, comments, and automated checks.
It is not the same as git pull, which is a command to fetch changes. A pull request is a collaboration feature of platforms like GitHub.
Why is it needed?
Imagine an online store where three people work at the same time. One modifies the cart, another improves emails, and another adjusts payments. If they all publish directly to the main branch, it can be difficult to know what caused an error.
Branches allow working separately. The pull request provides a place to verify that a change works and is understandable before integrating it.
How it works in practice
- You create a branch to add, for example, password recovery.
- You modify files and save progress via commits.
- You push that branch to the remote repository.
- You open a pull request proposing to integrate it into the main branch.
- You describe the problem, the solution, and how to test it.
- Other people review the changes and can approve them or request corrections.
- When it meets the project requirements, the merge is performed.
If the reviewer finds a problem, you make another commit on the same branch and the pull request updates. You do not need to start another proposal from scratch each time.
What should someone review?
The first thing is to understand what problem is being attempted to solve. Then, check that the solution does not break existing functionalities.
On a payments screen, for example, it is not enough to see that the button displays correctly. Amounts, authorization, error handling, and possible duplicate charges must be reviewed.
Dependencies, performance, tests, security, and code clarity can also be reviewed. Small and concrete changes are usually easier to analyze than a pull request with a hundred mixed topics.
What are green checks?
GitHub allows running automatic tests, builds, and verifications through continuous integration tools. A green check indicates that those controls passed, not that the code is guaranteed against all errors.
For important projects, it is advisable to combine automatic tests with focused reviews. The appropriate depth depends on the risk of the change.
What do commenting, approving, and requesting changes mean?
A comment expresses an observation or question. An approval indicates that the reviewer considers the change acceptable. Requesting changes indicates that there are aspects that should be corrected before integrating.
According to repository rules, a minimum number of approvals or approved automatic controls may be required.
What happens when a conflict appears?
Git may not know how to combine two changes on the same lines. That does not mean the repository is broken. You need to decide what the final behavior should be, resolve the conflict, and try again.
Do not delete conflict markers at random just to make Git stop complaining. The goal is to preserve the correct logic, not to silence the message.
Does it make sense if I work alone?
Yes, in certain projects. Even without a team, opening a pull request before publishing allows you to review the scope and document why you made a change.
But not everything needs a bureaucratic process. Fixing a text in a prototype may require fewer steps than modifying authentication or migrating customer data.
How to write a good description
Explain what changes, why it changes, and how it is tested. Indicate if there are migrations, new environment variables, or points that still require attention. Attach screenshots if the interface changed.
"Various fixes" does not help whoever reviews today nor whoever tries to understand the history in six months.
Where does ArduMaker fit in?
When you link a GitHub repository to an ArduMaker VPS, you choose a branch and, with automatic deployment enabled, every push to that branch triggers a new deployment. This turns the pull request merge into the moment the change reaches the server: the review is the last barrier before production.
If you prefer to decide when to publish, you can disable automatic deployment (commits are still recorded) and trigger redeployment manually; and if something goes wrong, revert to a previous commit. The pull request is part of the repository process, not an automatic quality guarantee.
In summary: a pull request turns a modification into a verifiable, discussable, and reversible proposal within the team's workflow.
Frequently asked questions
Are pull request and merge request the same?
Yes, in practice. GitHub and Bitbucket call it pull request; GitLab calls it merge request. In all cases it is a proposal to integrate one branch into another with review and comments.
How many approvals should I require?
It depends on the team and the risk. In GitHub it is configured with branch protection rules: minimum approvals, required checks, or no one approving their own change. For a small team, one approval plus green tests is usually a good starting point.
Sources: Pull requests according to GitHub · Review guide · Branches and merge explained.
