$ git clone -n https://src.fedoraproject.org/rpms/gap-pkg-float.git /var/lib/mock/f41-build-847365-163983/root/chroot_tmpdir/scmroot/gap-pkg-float Cloning into '/var/lib/mock/f41-build-847365-163983/root/chroot_tmpdir/scmroot/gap-pkg-float'... $ git fetch origin 1e4a1187d5cd6bf0923a0748281b4ebcd8edec3a:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/gap-pkg-float * [new ref] 1e4a1187d5cd6bf0923a0748281b4ebcd8edec3a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1e4a118 Version 1.0.5