To find when a specific line of code was added to a branch with git, run the following:
git log -S "your-string-here" --source --all --stat
To find when a specific line of code was added to a branch with git, run the following:
git log -S "your-string-here" --source --all --stat