The error "RPC failed; curl 18 HTTP/2 stream 5 was not closed cleanly" typically indicates a problem with the HTTP/2 protocol during a Git operation, such as cloning or pushing to a repository. This error can be related to network issues, HTTP/2 protocol handling, or configuration problems.

To resolve the "RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly" error, you can force Git to use HTTP/1.1 instead of HTTP/2.

git config --global http.version HTTP/1.1