How to Update Your Pull Requested Branch with Original Repository’s Master

Let’s say we have submitted a pull request to a public repository long ago. That repository’s main branch is updated often since then. Now that repository’s maintainer wanted to merge our pull request but our pull request branch is some number of commits behind their master branch. Therefore we need to update our pull request (branch) without any conflicts.

I had a similar experience.

In this article, I will explain you how to update pull request branch.