https://github.com/GetDKAN/dkan-ddev-addon/blob/e092657465b1752103d66bc91dbb49590718e58a/commands/host/dkan-init#L47 Check if /dkan already exists. If it does, don't run git clone. Also, we should detect the version constraint from the git repo. See https://github.com/GetDKAN/dkan-tools/blob/master/src/Command/InitCommands.php#L243 for how this was done in dkan-tools