Add git branch pruning to update-repos script