how to embed or share a gits in my blog wordpress?

In your screenshot, there’s an Embed option with <script> tag in it. Take that code and add it to a Custom HTML block.