Learn more about cloning repositories
You have read-only access
Don’t error on clean if no intermediaries We check exists rather than isDirectory because we will get a better error if the path is a file (for example) instead and we try to rmdir it.