Prune dead branches from a github repo