$ git clone -n https://src.fedoraproject.org/rpms/i3lock.git /var/lib/mock/f40-build-2670078-67296/root/chroot_tmpdir/scmroot/i3lock Cloning into '/var/lib/mock/f40-build-2670078-67296/root/chroot_tmpdir/scmroot/i3lock'... $ git fetch origin aa83b2535f3ed145e35fbb21d67f238bf1f41f2e:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/i3lock * [new ref] aa83b2535f3ed145e35fbb21d67f238bf1f41f2e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at aa83b25 New upstream release 2.15, fixes rhbz#2269789