private void convertRepo(String path)
throws IOException, AmbiguousObjectException,
MissingObjectException, IncorrectObjectTypeException,
CorruptObjectException, SolrServerException {
FileRepositoryBuilder builder = new FileRepositoryBuilder();
Repository repository = builder.setGitDir(new File(path)).build();
RevWalk walk = new RevWalk(repository);
Config storedConfig = repository.getConfig();
Set<String> remotes = storedConfig.getSubsections("remote");