I only have branch master and im getting this error every time i try to \"git pull\":
error: Couldn\'t set refs/remotes/origin/master From /var/lib/git/xxx/p
with gitbach line commande, use git update-ref to update reference of your local branch:
git update-ref
$ git update-ref -d refs/remotes/origin/[locked branch name]
then pull using $ git pull
$ git pull
[locked branch name] is the name of the branch that the error is happening because of mismatch of commit Ids.
[locked branch name]