Prune branches after a fetch.