Fix bug in checkout.
remore reset index from git clone.
Add createIndex to git index.
Comments.