If I can be so bold as to say... don't ;-)
Honestly, you'll gain nothing by doing so really and you'll just teach yourself a bad practice. You don't need to push git repositories if you don't want to, and you don't even need to use Github if you just want to share between a few of your own machines (you can just git over ssh). If you're creating an "umbrella" project that contains a bunch of related examples, that's different - but if it's just a bunch of random stuff, don't bother. If you want to keep the code, just archive it off somewhere and be done with it :-)