Working on a larger project and following the GitHub Flow very often leads to a messy local repository. One day you find yourself among tens of dead branches.
How can we clean up that big hairy mess?
Your very first thought might be: “I will use the power of Git and clear my local repository”. You run $ git remote update origin --prune or $ git remote prune origin, but nothing significant happens.