commit to a branch