Bare open

Speed up opening of repositories by using the new `git_repository_open_bare` from libgit2.