The reason you put codes on github, is you want it be forked. So only put the worth-forking codes there. Other code you can use git to set up local repo for version control.
And this page may help you.
You can repo all your codes in one local git repo, and create submodules for github repo?