Each inclass and homework assignment should be within it's own appropriately named subdirectory. You can browse through this repo to see the structure.
When you create your repository be sure to include the Node .gitignore file which will properly ignore Node related files (such as node_modules).