Small documentation tweaks.
Add tests for checkout in a bare repo.