I told my girlfriend of two years that I had thoughts of sleeping with other women early on in the relationship and she broke up with me. Is there anyway I can repair the trust? And why did I have these thoughts?

Having thoughts is no breach of trust. Why? You can see this for yourself. Close your eyes and just be aware. While you are staying aware without doing anything, thoughts will arise. Thoughts that you did not consciously plan for or ask for. This is because we have...