How to add existing repository to gitea from filesystem?

I’ve tried this, added a folder test.git and initiated a git repository, but gitea can not find the repository and so no adoption.