Having such a dream is likely to affect your mood and make you angry, which is also the reason why you are in conflict with your girlfriend.
Find a time to relax (visit the park, etc.). ) Tell your girlfriend about your dream. I think your girlfriend will forgive you.