Commit to check out other branch