$ git clone -n https://src.fedoraproject.org/rpms/gitleaks.git /var/lib/mock/f41-build-848044-164378/root/chroot_tmpdir/scmroot/gitleaks Cloning into '/var/lib/mock/f41-build-848044-164378/root/chroot_tmpdir/scmroot/gitleaks'... $ git fetch origin f5d903c820614847fef4116b526fefbeaf7fb3de:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/gitleaks * [new ref] f5d903c820614847fef4116b526fefbeaf7fb3de -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f5d903c Add require on git-core - Closes rhbz#2307506