Your git folder may be corrupted, you may try Saving Error - failed to insert entry: invalid object specified - #2 by arbei.