How to Create Directory in Github
- George Apostolov
- 05 Sep 2025
Guide
In your Github repository, click on the 'Add file' button.
Select '+Create new file'.
In the 'Name your file...' input box, type the path to the file, including the directory name.
It will create a
new-folderdirectory with aREADME.mdfile inside it.Add content to the file if needed.
Click 'Commit changes'.
Provide a commit message and description.
Click 'Commit changes'.
You have successfully created a directory directly on GitHub. Click on it.
Following these steps will ensure that the new directory is created and visible in your GitHub repository.
Create your first interactive demo in minutes
No credit card required • Start building today


