My URL doesn't work properly

I’m novice to GitHub and I appologize if I don’t use terms presizely.
I have created a portal (code and images to be refered) on my PC which works as wanted. My goal is to upload those .html and .img files in the same folder hierarchy as on my PC.
I suceeded to create a repository and 3 folders, which I intended to define as a folder with 2 subfolders. I don’t know how to check:

  • I’m not sure wether the 2 subfolders are realy defined under the
    parent folder.
  • Were the files added and uploaded to the right folder or subfolder.
    It seems that all files were uploaded to the main ?!
  • When I run it displays as if there are 3 repositories. It could be my fault, misunderstanding the difference between repository and folder at the beginning of my work with github.

WHAT I WANT and need:

  • a folder named iNat_portal within index.html file and 2 subfolders.
    (my html code has refrence to files in subfolders).
  • 1st subfolder named iNat_files to contain all other .html files.
    There are 2 types: *_menu.html files are actually menues and
    *ID###.html files to be refered by the appropriate *_menu.
    For example: B_menu.html is a list of birds while BID010.html
    contains data of bird associated to images (on next subfolder) of
    the selected bird.
  • 2nd subfolder contains all images (893 images today, about 2.6 GB)

I have 2 issues:

  1. while I push the images I get the next error messages:

git config --global http.postBuffer 157286400Blockquote
git push --set-upstream origin main
Enumerating objects: 1338, done.
Counting objects: 100% (1338/1338), done.
Delta compression using up to 4 threads
Compressing objects: 100% (1007/1007), done.
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly:
CANCEL (err 8)
remote: fatal: pack exceeds maximum allowed size
send-pack: unexpected disconnect while reading sideband packet
Writing objects: 100% (1338/1338), 2.63 GiB | 6.00 MiB/s, done.
Total 1338 (delta 331), reused 1331 (delta 330), pack-reused 0
fatal: the remote end hung up unexpectedly
Everything up-to-date

I don’t realy understand what cause the error, and did all images were uploaded or just part of them, and how to solve it.

  1. When I enter next URL index.html on the browser it gives me the initial page correctly. But when I select and click on any item in the main menu I get a fault display and messages the the submenu html file (*_menu.html) and the first item in it (*IDnnn.html) were not found:

I overcome the first issue by uploading images using Git Gui instead Git bash. The URL still does not show the refferenced sub-pages, the *_menu,html nor the *IDnnn.html files - either rhierarchial refference of javascript fetch function don’t work correctly.