Fixed method names in reference example

fixes #98
Fixed wrong variable name.
Fixed unknown oid for general examples
Fixed unknown commit oid
Changed default value of working dir to a existing git folder
Merge pull request #102 from micha149/example-fixes

Reviewd and fixed examples