Personally I wouldn't want to work for a company actually detaining people, but call me terrible but I'm not sure I'd feel the same about letting them pay to host some code...
1. You provide tools to a group. 2. You believe (in a informed way) that the group intends to act immorally. 3. Your tools will make the group more effective at acting immorally.
Do you have any responsibility for what happens?
1. I make tools (wedding planning software)
2. I believe (in an informed way) that a group intends to act immorally (use my tools to plan a gay wedding)
3. My tools will make the group more effective at acting immorally
Do I have any responsibility for what happens?
Or (alternatively):
1. I make tools (highly specialized chemicals)
2. I believe (in an informed way) that a group intends to act immorally (use my chemicals to improve abortions)
3. My tools will make the group more effective at acting immorally
Do I have any responsibility for what happens?
=====
IMO, it's better not to attempt to be morality police. Focus on making great tools.
I'm struggling to see how this is intended as a counterexample. Is it because disapproving of homosexuality is wrong? That doesn't at all change the entailment of responsibility by the conjunction of foreknowledge of consequences with uncoerced action.
If you walk out into a public street and fire a pistol around you randomly, you are clearly responsible for any death or injuries thereby caused (given that you were aware of the likely outcomes), even if it is through negligence or indifference rather than deliberate intent.
But you still have responsibility when you assist others in doing things, whether you agree or disagree with those things.
Otherwise you are ignoring the "let live" part of your own philosophy.
For example, someone comes to you asking for your services to help them kill a third person.
If you believe in the "let live" part of your philosophy, you cannot assist in depriving someone of life in that way.
Same applies to the golden rule. It's easy to say you don't want to be denied assistance from others, so you won't deny it to them. But that's the easy scenario. Consider, when Alice is asked by Bob to help damage you, do you think the golden rule tells Alice to deprive you of life and liberty? I don't think it does.
If GitHub were to go through with it, that would make for an interesting middle-man company business model.