I see. So actually it would have been better if I didn't realize that I was not modifying the head? haha
I had tried to create a new branch from master and merge to my branch, but that didn't work since my branch is actually ahead of master. Didn't realize that I could have used rebase.