Welcome to our interactive platform and thank you for contributing with your question!
We have already had a few similar questions asked and answered before, I'm going to link the threads for you:
Can asylum seekers get married in Italy?
Marrying an asylum seeker in Italy
How much time can it take for an asylum seeker in Italy to marry his German fiance in Italy?
All of these threads include a lot of important information on what documents you will need in order to get married to your Polish girlfriend and about the marriage procedure.
After you two are married, you will have to apply to be united with your spouse in order to move to Poland and live with your wife!
Please have a look at this Polish embassy website: https://www.msz.gov.pl/en/p/waszyngton_us_a_en/waszyngton_us_a_en_consular_information_2/illegal_entry_consequences/marraige_reunification/
Especially read through the paragraph "Legalization of stay of spouses of Polish citizens".
Another helpful website is this one: http://www.migrant.info.pl/marriage-to-a-polish-citizen-abroad.html
I hope this helps, let us know if you need any further assistance.
All the best,