Nintendo would need to prove that you had and ran the tools locally which is damn near impossible to do. I could create a commit without even opening the solution or compiling it.
It would also put Nintendo up shit creek by turning the entire FOSS community against them.
As others have said, the entire lemmy.ml instance skates on thin ice. While the people on it are generally ok the admins have a clear agenda and are not afraid to suppress ideas and discussions that do not adhere to their ideology. I always triple check any news or political posts that come from that instance.