@Penguin-Master, git repos are not file systems, so you do not add folders. Instead, you just add the file with the full path, even if some of the folders in that path do not ”exist” in the repo.
If I misunderstood something, please share also the command you are trying to run.