$ git clone -n https://src.fedoraproject.org/rpms/rsync.git /var/lib/mock/f45-build-34695-690/root/chroot_tmpdir/scmroot/rsync Cloning into '/var/lib/mock/f45-build-34695-690/root/chroot_tmpdir/scmroot/rsync'... $ git fetch origin a220cab6a28e0df80f7100e8b2c5028d4860f3e7:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/rsync * [new ref] a220cab6a28e0df80f7100e8b2c5028d4860f3e7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a220cab Fixing the Upstream commit references