add branch option for given repository