I have a very basic github setup with a readme, a directory, and another directory inside it with an html file. On github I can only view the readme and the first folder but
If it's a submodule you need to cd into it then use git add . && git commit -m 'Your message'
git add . && git commit -m 'Your message'
From there you can cd out and push to whichever branch you want.