Can a buddhist get married?
Monks cannot marry, but in your case best course of action is to practice as a lay person until you are fully ready to leave the householders responsibility and and become a monk. Being a monk would mean you will have to leave your girlfriend.