Github Question: Folders?

Hello everyone,

I’d like to know how you make folders on Github. I’ve seen them on projects like these:

I’m currently working on a project, and I plan to format them the same way on GH as they are on my computer (to solve confusion regarding the folder “tree”), but since I don’t know how to make them that isn’t currently possible.

All solutions and/or tips are appreciated!!

1 Like

There’s no magic to it, just create a directory in your local repo, add a file inside that new directory, add it to the staging area, commit and push and you should have a directory. Git keeps the structure of the local repo.

2 Likes

Thank you so much!! I didn’t even think of that.

1 Like

Thanks, I had the same situation.

1 Like