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
What worked for me was:
git config --global fetch.prune true
Now it keeps on running prune automatically.