I worked on a branch some time ago, I have pushed the code to remote also. But due to some other requirements it is not merged to main branch. Now multiple new merges happened with main branch.
I need to make some changes to my previous code. How can I work on my already existing branch and create a pull request. Whenever I try to pull the code from main into main branch, it gives me below error.
fatal: Not possible to fast-forward, aborting.