get repository by clone