Share from GH repo fails with option github but works with option code

I have tried couple of times to share my PS source files like this:

and this:

but I got only errors 404.

However, it works Ok if shared with /?code :

Here are my codes which I tried to share from repo.

You need to remove the “blob” slug from the path. That’s just an artifact of the main GitHub UI.

1 Like

Yes, it works!
Thanks for the good advice.