Prune the local unused branches