How do I find a missing piece of code (deletion)?

Something was deleted. How can I find what commit / PR removed it and when?

Wow. Works like magic. git log -c -S 'GUEST_SIGN_UP_LITE_INIT'

https://stackoverflow.com/questions/12591247/how-to-find-commit-when-line-was-deleted-removed