updating examples to gitinfo2, testing and fixing bugs