Resolve git commit error