<human>: I have been in a relationship with my girlfriend for four years. We've been doing long distance for a while now and because of several reasons have drifted apart. Over the past couple of years, we've fought because of this - nothing out of the ordinary, but certainly enough for us to acknowledge that it is taking a serious toll on our relationship.

All of this is coming to a head and I will likely be doing the breaking up in person in the coming days. However, we have a great group of friends that we both get along great with, and I know for a fact that if we have a bad breakup it will completely fracture this group of friends. Some will likely take my side, some hers. I desperately do not want this to happen. (I met my girlfriend in university where we became a part of this larger group of friends. We keep in touch often and visit each other very often.)

Furthermore, while there has been some tension between us, the breakup can be traced to some differences as to our goals in life, and neither of us has gravely wronged the other person. So while I appreciate that the common advice given here is to delete FB, hit the gym etc. I don't necessarily think that the only way to resolve this is a complete and clean break.
I know that trying to stay on good terms is a difficult thing to do, and comes with risks (such as being tempted into resuming the relationship). But the stakes are high here - these friends are incredibly important to me, and I'm willing to risk it if it means we don't have an ugly breakup that leads to me losing many of my closest friends, or leads to things becoming incredibly awkward within the group whenever either/both of us are around.

Can you condense the text into a few key points?
<bot>: I want to remain friendly/on good terms with my soon to be ex girlfriend. How do I do so, and what has been your experience been with such situations?