Clone repository under the temporary directory