No matter how you do it, I don't see any way to avoid TWO runs. There is just no safe way to share a single run and switch directions on it. But how to avoid grounding loops in that? Either the generator is isolated from the garage completely, or you have two transfer switches (with neutral transfer). But does it have a single EGC?
Just stuff to think about (when you have time to think about weird things).