A demo on your website is just the start. Discover a dozen other marketing use cases • May 26
Register for AMA
Talk to RepX
Book a demo
Explore Hub
Platform
Products
Demos
Guided interactive demos and sandbox environments
Hubs
All the demos and collateral your buyers need in one place
New!
RepX
New
Conversational agents to qualify and convert prospects
Features
Demo Signals
Deal Intelligence
Personalization
Integrations
Enterprise
Download
Chrome Extension
Desktop App
Figma Plugin
Explore
AI-powered Lily
Built for Enterprise
Solutions
Used by GTM teams
Marketing
Turn curiosity into conversions with self-guided demos
Sales
Close more deals faster with interactive demo experiences
Customers
Customer Showcase
Check out how 5000+ GTM teams win with Storylane
Customer Resources
Customer Stories
Finer Demos Club
Demo Kitchen
Demo Dundies
    Our executive team continues to rave about how well Storylane visualizes our own tool!
Emily Elizabeth
VP Marketing
    Storylane's by far the easiest and most reliable out of other competitors.
Martin Kurowski
Product Marketing Manager
    Intuitive, powerful, and easy to use platform.
Matt Slotten
Marketing
35
demos in 3 weeks
Michael DeMarco
Product Marketing Manager
Read Case Study
    It’s actually kind of shocking how fast it was for us.
Katie Fairbank
Director of Product Marketing
Read Case Study
Wall Of Love
Resources
Resources
The Plot
Blog
Help Docs
Webinars
What’s New
Featured
Report
The impact of interactive demos on conversion rates & time to convert
What’s New
Release notes
New!
Pricing
Start for free
Book a demo
Platform
Products
Demos
Guided interactive demos and sandbox environments
Hubs
All the demos and collateral your buyers need in one place
New!
RepX
New
Conversational agents to qualify and convert prospects
Features
Demo Signals
Deal Intelligence
Personalization
Integrations
Enterprise
Download
Chrome Extension
Desktop App
Figma Plugin
Explore
AI-powered Lily
Built for Enterprise
Solutions
Used by GTM teams
Marketing
Turn curiosity into conversions with self-guided demos
Sales
Close more deals faster with interactive demo experiences
Customers
Customer Showcase
Check out how 5000+ GTM teams win with Storylane
Customer Resources
Customer Stories
Finer Demos Club
Demo Kitchen
Demo Dundies
    Our executive team continues to rave about how well Storylane visualizes our own tool!
Emily Elizabeth
VP Marketing
    Storylane's by far the easiest and most reliable out of other competitors.
Martin Kurowski
Product Marketing Manager
    Intuitive, powerful, and easy to use platform.
Matt Slotten
Marketing
35
demos in 3 weeks
Michael DeMarco
Product Marketing Manager
Read Case Study
    It’s actually kind of shocking how fast it was for us.
Katie Fairbank
Director of Product Marketing
Read Case Study
Wall Of Love
Resources
Resources
The Plot
Blog
Help Docs
Webinars
What’s New
Featured
Report
The impact of interactive demos on conversion rates & time to convert
What’s New
Release notes
New!
Pricing
Login
Start for free
Book a demo
It’s happening! Demo Dundies is back with Season 2.
Nominate your best demos
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /GitHub

How to Create Directory in Github

Updated on:
May 12, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to create a new directory in your GitHub repository.

Quick summary

Creating a directory in GitHub requires adding a new file with a folder path in the file name, since GitHub does not support empty folders. You complete the process by writing a commit message and clicking Commit changes to save the new directory to your repository.


Steps

  1. In your GitHub repository, click the Add file button.
  2. Select Create new file from the dropdown menu.
  3. In the Name your file input box, type the full file path including the directory name (e.g., new-folder/README.md).
  4. GitHub will automatically create a new-folder directory containing the README.md file.
  5. Add any required content to the file in the editor.
  6. Click Commit changes to open the commit dialog.
  7. Provide a commit message and an optional description for the change.
  8. Click Commit changes again to confirm and save to the repository.
  9. Confirm the new directory is visible in your repository and click on it to verify.
  10. The new directory is now successfully created and visible in your GitHub repository.

📌 Why this matters

Creating a directory directly in GitHub without using a local Git client is a common need for developers who manage repositories through the browser. GitHub does not allow empty folders, so understanding how to use the file path naming trick to create a new directory — by typing a folder name followed by a slash and a file name — saves significant time and avoids confusion. This workflow is essential for teams onboarding new contributors, organizing project structure, and maintaining clean repository layouts without requiring command-line access. Mastering this skill ensures faster repository setup and smoother collaboration across distributed development teams.
Your product deserves an interactive demo
Start free
Similar Articles
GitHub

How to Import a Project from GitHub to Replit

Madhav Bhandari
Director of Marketing @ Storylane
GitHub

How to Push Code from Replit to GitHub

Madhav Bhandari
Director of Marketing @ Storylane
GitHub

How to Connect Replit to GitHub

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Demos
RepX
Hubs
Integrations
Solutions
Marketing
Sales
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
Tutorials
Help Docs
What’s New
Demo Dundies
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it