$ git clone -n https://github.com/xcp-ng-rpms/xapi.git /var/lib/mock/v8.3-u-brs1-6056-11420/root/chroot_tmpdir/scmroot/xapi Cloning into '/var/lib/mock/v8.3-u-brs1-6056-11420/root/chroot_tmpdir/scmroot/xapi'... $ git reset --hard 42ba1f81f4b57c105e68d889e3678d06553e3f4c Downloading SOURCES/xen-api-23.31.0.tar.gz (4.3 MB) HEAD is now at 42ba1f8 Add brackets in `Host` header of http request when relevant.