creat or clone repository through REST API