$ git clone -n https://src.fedoraproject.org/rpms/stgit.git /var/lib/mock/f41-build-851115-165857/root/chroot_tmpdir/scmroot/stgit Cloning into '/var/lib/mock/f41-build-851115-165857/root/chroot_tmpdir/scmroot/stgit'... $ git fetch origin 929f40cd33815762e97daba2faf35f801360c9c4:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/stgit * [new ref] 929f40cd33815762e97daba2faf35f801360c9c4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 929f40c Update to version 2.4.12 (rhbz#2301550)