Golfing idiom for fixing business processes, or repairing relationships--after you have totally destroyed them in the act of rush completing a task or project.
"We totally took a lot of shortcuts in getting this code to launch, but there are a ton of security flaws in it. Let's get a real developer to come in and replace the divots."
"I really threw Steve under a bus at the last meeting, when I said we should scrap his project and his team is a waste of flesh. Maybe I'll take him out to lunch to replace the divots."