'Github - Old commits shows up in new pull request [duplicate]

I created branch A of master branch. I made changes and raised pull request to master branch. When I open New Pull request to master branch, I see too many files changes and previous commit with my changes and commit.

I only made changes in 9 files and 1 commit. It shows 87 commit and 30 file changes

I dont know how to solve. I created new branch, off master, took latest and tried. But same result again and again. Please help. Its frustating, I already spend hours



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source