class InternalGit implements IGit {

    @Override
    public void clone(String url) throws GitException {
        try {
            GitCloneCommand command = new GitCloneCommand(repo);
            command.setProgressMonitor(getProgressMonitor());
            String giturl = mirrors.getNewUrl(url);
            command.setRemoteUrl(giturl);
            command.call();
        } catch (Throwable t) {
            throw new GitException(t.getMessage(), t);
        }
    }

    public  InternalGit(File workDirectory, GitMirrors mirrors);

}