commit to checkout