values = new Values(factories(), getContext().getBinaryStore());
// Set up the repository instance. We expect it to exist, and will use it as a "bare" repository (meaning
// that no working directory will be used nor needs to exist) ...
repository = new FileRepositoryBuilder().setGitDir(gitDir).setMustExist(true).setBare().build();
git = new Git(repository);
// Make sure the remote exists ...
Set<String> remoteNames = repository.getConfig().getSubsections("remote");
parsedRemoteNames = new ArrayList<String>();