So, firstly, we can’t create an empty folder on github. So we have to create a file inside the folder while creating the folder on github.
There are a few steps that we must follow while creating a folder on github:
Click on the add button inside the repository on github and then click on create a file
A new interface will be opened up and over there, enter the name of folder in the box of “ name of your file “ and make sure that after writing name of folder, you specify a ‘/’ , and after that, write the name of the file. For eg.: If the folder name is FAQS and file name is “questions” then write it as “FAQ/” and after that write the name of the file, which is “questions” .
Then click on the button commit changes. And a new dialog box opens up and then again click on commit changes.
After this, you will notice that the folder and a file in that folder have been created.
After following all these steps, the creation of folder will be done.