$ git clone -n https://src.fedoraproject.org/rpms/nginx.git /var/lib/mock/f39-build-1532365-36223/root/chroot_tmpdir/scmroot/nginx Cloning into '/var/lib/mock/f39-build-1532365-36223/root/chroot_tmpdir/scmroot/nginx'... $ git fetch origin 4aa5353117757923f717fc61263770c7fdc74581:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/nginx * [new ref] 4aa5353117757923f717fc61263770c7fdc74581 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4aa5353 Related: #2224582 - Running nginx with systemctl and entering ssl private key's pass phrase