just write:
This is a __backslash with a square bracket__: \\\[.
It works on github for me.
Edit
Now that the question has been updated, here is an updated answer.
Just escape all characters, at the beginning and at the end:
foo \\\[something\\\] bar
will produce => foo \[something\] bar
Works normally on github: http://tinypic.com/view.php?pic=oh2xyp&s=6
Edit 2
Just tried on a wiki... you're right, it doesn't work there. I guess it's because of the special meaning that constructs like [[foobar]]
have in the wiki syntax.
I'd say your best shot is this: __\__ __[__ __something__ __\__ __]__
(without code backsticks).
Weirdly it doesn't work here, but it works on github wikis.
Still, if you think it's a bug, you should report it as they say here.