Update "Checkout" and "Committing with a Detached HEAD" sections

I'v updated two sections in Chinese version. Appreciate any comment : )