$ git clone -n https://src.fedoraproject.org/rpms/gammaray.git /var/lib/mock/f41-build-835901-158749/root/chroot_tmpdir/scmroot/gammaray Cloning into '/var/lib/mock/f41-build-835901-158749/root/chroot_tmpdir/scmroot/gammaray'... $ git fetch origin 56372b94dc3dc33303e744d05ace28b9e1ca07ab:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/gammaray * [new ref] 56372b94dc3dc33303e744d05ace28b9e1ca07ab -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 56372b9 3.1.0