$ git clone -n https://src.fedoraproject.org/rpms/xastir.git /var/lib/mock/f41-build-side-1-2892708-34598/root/chroot_tmpdir/scmroot/xastir Cloning into '/var/lib/mock/f41-build-side-1-2892708-34598/root/chroot_tmpdir/scmroot/xastir'... $ git fetch origin 7c05b50c5e18ca88adfe2e88a046ad47d0abfd48:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/xastir * [new ref] 7c05b50c5e18ca88adfe2e88a046ad47d0abfd48 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7c05b50 convert GPLv2+ license to SPDX