$ git clone -n https://src.fedoraproject.org/rpms/topgit.git /var/lib/mock/f41-build-side-1-2949575-35473/root/chroot_tmpdir/scmroot/topgit Cloning into '/var/lib/mock/f41-build-side-1-2949575-35473/root/chroot_tmpdir/scmroot/topgit'... $ git fetch origin 3a05c6acda9d2550a0b0806113f5e9860c8b9a56:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/topgit * [new ref] 3a05c6acda9d2550a0b0806113f5e9860c8b9a56 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3a05c6a convert GPLv2 license to SPDX