Before you can open a pull request, you must create a branch in your local repository, commit to it, and push the branch to a repository or fork on GitHub.

  1. Visit the repository you pushed to
  2. Click Compare and Review in the repository Pull Request button
  3. You'll land right onto the compare page. You can click Edit at the top to pick a new branch to merge in, using the Head Branch dropdown Head branch selection dropdown
  4. Select the target branch your branch should be merged to, using the Base Branch dropdown Base branch selection dropdown
  5. Review your proposed changes.
  6. Click Click to create a pull request for this comparison Link to turn a discussion into a pull request
  7. Enter a title and description for your pull request Pull Request description page
  8. Click Send pull request Pull Request button

After your Pull Request has been reviewed, it can be merged into the repository.