use branch ref instead