If you merge a branch A into a branch B the conflicts that you get come from the difference between both branches and not from the difference with master. executing git diff
in A or B will give you however the diff with mastere since it is the ancestor
Normally the local branch should be the one you are merging into and the remote the one you want to merge. Anyway in your computer you will only have one copy of the file so just modify it