$ git clone -n https://src.fedoraproject.org/rpms/xfig.git /var/lib/mock/f39-build-1625863-39215/root/chroot_tmpdir/scmroot/xfig Cloning into '/var/lib/mock/f39-build-1625863-39215/root/chroot_tmpdir/scmroot/xfig'... $ git fetch origin af2c7a84ee2ce7ee6f40ceb3307bc51a57f48dfd:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/xfig * [new ref] af2c7a84ee2ce7ee6f40ceb3307bc51a57f48dfd -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at af2c7a8 update xfig to upstream 3.2.9