Create an Empty Folder on GitHub

15 July 2022

You can’t, but you can create a folder by adding a file through the web interface and using <folder name>/<file name> - so add a README.md or whatever. Then you can drag your source into the new folder as normal.

I learned this from Zack West here , where there is also a better explanation with pictures.