I save my repo in dropbox, and one day (see date below) it went crazy. Now I get these warning every time I try to autocomplete a branch name
warning: ignori
I pruned branches that were no longer on my remote by running
git remote prune origin
and that resolved the issue for me.