remove shallow clone, was causing 'fatal: reference is not a tree'