I recently tried to mirror some private repositories from Github to my local Gitea setup which led to some errors. Here's how to do it.