$ git clone -n https://src.fedoraproject.org/rpms/libwebcam.git /var/lib/mock/f40-build-738583-108024/root/chroot_tmpdir/scmroot/libwebcam Cloning into '/var/lib/mock/f40-build-738583-108024/root/chroot_tmpdir/scmroot/libwebcam'... $ git reset --hard 0184dada521758a1ae46b927068fc7db7dcebb2f HEAD is now at 0184dad Remove backup file packaged in the tar file, BZ 223903