$ git clone -n https://src.fedoraproject.org/rpms/maven.git /var/lib/mock/f38-build-side-42-init-devel-784905-27955/root/chroot_tmpdir/scmroot/maven Cloning into '/var/lib/mock/f38-build-side-42-init-devel-784905-27955/root/chroot_tmpdir/scmroot/maven'... $ git fetch origin 3c1abed25c2e3ee479683814df35e577b6d60889:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/maven * [new ref] 3c1abed25c2e3ee479683814df35e577b6d60889 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3c1abed Switch tests to Fedora dist-git repo