How can I plug my portable generator into a "wall outlet"?
You should replace the garage outlet with an inlet, such as this (Amazon, as an example).



This way, you can use a standard male-female cord, either a standard extension cord or one made with the correct gauge of SO cord [Thanks, @EdBeal]. You avoid using a male-male cord which is so dangerous.