I think color-moved might also be what you’re thinking of. https://git-scm.com/docs/git-diff#Documentation/git-diff.txt...
Re:Semantic Diff for SQL
by Something1234 on Friday July 29, 2022 @06:39PM
(#32282546)
Post it or link it so we can better understand!
Text-based diff tools such as git diff, when applied to a code base, have certain limitations. First, they can only detect insertions and deletions, not movements or updates of individual pieces of code.
git diff can detect movements. looking at my .gitconfig, I think it's the "frag = magenta" line.