$ git clone -n https://src.fedoraproject.org/rpms/xmlto.git /var/lib/mock/f41-build-827543-155299/root/chroot_tmpdir/scmroot/xmlto Cloning into '/var/lib/mock/f41-build-827543-155299/root/chroot_tmpdir/scmroot/xmlto'... $ git fetch origin cb08ff9a604d5a9d4f25595a4a4df0141d706aaa:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/xmlto * [new ref] cb08ff9a604d5a9d4f25595a4a4df0141d706aaa -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cb08ff9 Rebase to the latest upstream version