There is no way to upload a file into an empty repository though the gitlab web interface
Problem to solve
Create a new project. The repository is empty. You can create a new file, you can add a readme, you can add a license, you can push files using git on the command line.
However, sometimes all you want to do is simply upload a single file. Unfortunately that option does not appear to exist when the repository is empty. It is possible to upload files into non-empty repositories, however.
Proposal
Why not add the option to upload a file e.g. to the menu through which you can also create a new file?
