From what you say, you seem to have left the country long before you "got" your Green Card, and you make not mention of advance parole, so with more than a year out of the U.S. I think you're out of luck on the Green Card. I don't see how you could avoid a finding that you abandoned permanent residency.

In terms of the H1B, if you still have some time left to run on your H1B and you have a qualified employer in the U.S., you can probably return on your H1B (but that doesn't fix the permanent residency problem).

You can formally abandon permanent residency, if you choose. (Get form I-407 from your consulate or embassy.) That may make you look better if you later reapply. But if you're serious about trying to get permanent residency in the future, before you do anything else, consult an immigration lawyer - if there's a piece to your puzzle that I don't know, I don't want to steer you in the wrong direction.