What? It just needs to host the Git repo in a country that does not care about these sorts of things.
I'd like to see a case surrounding software like this actually defended in a court, though. It would be helpful to clarify what is legal and what is not on the modern Internet in terms of fair use and time shifting.