task::atomically is unsafe
Repository::lookup(&str)
Repository::checkout_head()
new type GitIndex
sample program rgit
remove dirs recursively
add clone to rgit
Repository::each_status
safer function Repository::status
call git2::threads_init() at the start of rgit