They key is to write detailed commit messages that explain *why* a change was made. Probably including the bug report if there is one. The how is in the commit itself and the verification is in the accompanying test. You do have tests, don't you?https://twitter.com/patkua/status/1107563540783775746 …
The Linux Foundation makes you write tests to demonstrate the bug first. They don't take your commit without tests first. That way, the bug never comes back.