I made a vague statement, but I think "reverting a commit" is definitely minimizing what she claims happened
I don't recall reading about an uninvited advance, so if this is something new you know about could you dump a citation here. I do recall a home visit which was 'awkward' and the offending party 'hesitated' to leave. That stuff happens, in and outside of work. Remember the parties here are emotionally invested and biased. We should not consider such details trivial, but they are considerably emotionally invested in this. The way it was phrased in the original article was he hesitated to leave. That's obviously up to the reader to interpret. Let's not dramatize that into an 'univited advance'.
I can not see it reasonable to fire employee for asking another one on date once, even if it was awkward and unexpected.
Maybe I'm weird, but I do not see it employers business to police relationships of their adult employees, as long as they do not cross the line described above.