I have created a branch out of the master branch where I have done different changes. But meanwhile, I have done a few changes to the master branch as well. Every time I try to merge the second branch into the main branch, the changes I have done to the main branch get overwritten by the second branch.
What is the correct way of doing the merge?
Note that I am using Git Extensions.