prepare branch te