$ git clone -n https://src.fedoraproject.org/rpms/libgit2-glib.git /var/lib/mock/f41-build-855883-167429/root/chroot_tmpdir/scmroot/libgit2-glib Cloning into '/var/lib/mock/f41-build-855883-167429/root/chroot_tmpdir/scmroot/libgit2-glib'... $ git fetch origin a9821d37d308c1869c5bf785f672d09bfce6b673:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/libgit2-glib * [new ref] a9821d37d308c1869c5bf785f672d09bfce6b673 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a9821d3 Rebuild for libgit2 1.8.x