class GitCloneTask implements Task {

    @Override
    public void run(TaskQueue tasks) throws Throwable {
        if (git.exists()) {
            LOG.info("git clone already performed, issuing pull instead.");
            tasks.insertAtHead(new GitPullRemoteTask(git));
            return;
        }

        git.clone(remoteUrl);
    }

    public  GitCloneTask(IGit git, String url);

}