add branch iterator / remove useless repo from reference iterator