I saw a few people asking the same question on here but it seems none of their advice is applicable to me. I\'m getting the warning that is in the title of this but I don\'t
git fetch --prune git pull origin branch-name
should fix your problem.