$ git clone -n https://src.fedoraproject.org/rpms/nagios-plugins.git /var/lib/mock/f33-build-125216-39801/root/chroot_tmpdir/scmroot/nagios-plugins Cloning into '/var/lib/mock/f33-build-125216-39801/root/chroot_tmpdir/scmroot/nagios-plugins'... $ git reset --hard 2d9533b657f8b7c6efd8d68ee080e31e7580d0a2 HEAD is now at 2d9533b Try to remove path10 ref