prepare branch branch