$ git clone -n https://src.fedoraproject.org/rpms/pesign-test-app.git /var/lib/mock/f37-build-side-32-misc-devel-1071902-28429/root/chroot_tmpdir/scmroot/pesign-test-app Cloning into '/var/lib/mock/f37-build-side-32-misc-devel-1071902-28429/root/chroot_tmpdir/scmroot/pesign-test-app'... $ git fetch origin 640e033eeda56e6bf082b43bffc9e8ea7b927b8b:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/pesign-test-app * [new ref] 640e033eeda56e6bf082b43bffc9e8ea7b927b8b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 640e033 Test test app itself