The IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more to help build customer satisfaction and retention.
One option is to do both - the Git repo for reference but create smaller plunkr / fiddle's to demonstrate specific issues / functionality. The latter can be forked and experimented with leaving the original code base intact.
It also depends on what you want to achieve if you want to learn or you just want the project done.