Since you will be limited by H1B quota, you need to plan ahead.You have to get H1B first, then start to apply for GC.