clone only required branch