Can't create folders in repo

Hi,

I am completely new in Gitlab and version control systems. I have a project named some-project. I want to add a JS file in Data folder like some-project/Data/app.js. I did it, but unfortunately every file is getting saved in the root and NOT in expected folders.

I have explored some projects and saw others are doing what I can’t. I know it’s very simple, but I can’t do it because I am new. I need help on this.

You have to create a Data directory and then put inside it the app.js.

What is your project structure? If you are on Linux you can see that with the tree command inside your repo.