commiting to checkout a branch