You shouldn't lie to someone about hitting their car.
John hits a person's car while parking then the person walks up and asks John if it was him that did it.
John wants to answer the person.
John admits that it was him that hit the car and gives the person his insurance information.
John says it wasn't him that hit the car and that he doesn't know anything about it.
The person whose car was hit has the damages paid for with John's insurance.
The person whose car was hit has to pay for the damage.