$ git clone -n https://src.fedoraproject.org/rpms/libssh2.git /var/lib/mock/f31-build-59502-28588/root/chroot_tmpdir/scmroot/libssh2 Cloning into '/var/lib/mock/f31-build-59502-28588/root/chroot_tmpdir/scmroot/libssh2'... $ git reset --hard 8f106e1af22bed118382e15446f5229ce3fbfed2 HEAD is now at 8f106e1 Update to 1.9.0