I want to add a new folder to my newly created GitHub repository without installing the windows setup. Is it possible to do so? I have gone through help which is saying to execute some commands to create a folder but I don't know where to write those commands.

I can't install a Windows setup because my office PC is restricted.

I know how to add files using the web app interface but not folders.

  • 1
    I'm sorry it's a bit complicated, you are trying to manage a git repository without having git actually installed? For simply editing files and making new folders you don't need it to be installed, though. But those changes will not be synched to the repository (say, on Github) until you commit it (with some sort of git client) – chrki Dec 8 '12 at 11:48
  • 1
    @user1781026 nah!! not that.. I am asking How to add a new folder on the web browser (github account) not on computer. – Mr_Green Dec 8 '12 at 11:59
  • 2
    Talk to your office admin about changing your PC setup, you should not be managing your repos in the front end. The new add file feature is nifty but it's not meant currently to be the way to manage your files. – phwd Dec 8 '12 at 14:51
  • 1
    @phwd so It is not possible to create a folder on web interface.. right? – Mr_Green Dec 11 '12 at 6:05
  • 1
    @phwd There could be some trick to achieve it.. I dont care if it is very long process.. please help. – Mr_Green Dec 15 '12 at 12:04
up vote 39 down vote accepted

It is possible to create a new folder from the web interface, but it would require you to have at least one file within the folder when creating it.

When using the normal way of creating new files through the web interface, you can type in the folder into the file name to create the file within that new directory.

E.g. If I would like to create the file filename.md in a series of subfolders, I can do this (taken from the GitHub Blog): With credits to GitHub

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.