I can tell you. Forgejo is a git server (i.e. you can push to a remove that lives in a different machine) plus a web GUI that allows to list repos, list commits within a repo, navigate commits and files within a commit.
The license is Free and Copyleft.
You still have to run it on a server somewhere, which Nintendo can get shut down.