I just encountered a problem when merging a branch into master in git. First, I got the branch name by running git ls-remote. Let\'s call that branch \"branch-n
git ls-remote
This may sounds weird, but remember to setup your git email and name:
git config --global user.email "MY@EMAIL.COM" git config --global user.name "FIRST_NAME LAST_NAME"