remove unused mk_instance()
ask git for the object rather than traversing the dir