prepare branch