If the immigration judge approves your I-751 petition in court, your case (along with the judge order) will have to be sent back over to USCIS, for them to process your green card. The judge's approval of your application effectively "terminates" removal proceedings, so there is no need for any other motions from you. It would be a good idea to hire an experienced immigration attorney to help you prepare and present your case before the judge. Let me know if I can help.
If you are not familiar with the immigration process or otherwise have concerns with your immigration case, it is imperative to contact an immigration lawyer to discuss your case.
Immigration court proceedings can sometimes be overwhelming and your expectations may not be realized.
If your I-751 is denied you will be deported if you do not have any other relief pending.