git diff(1) -w -M -C
Show changes between commits, commit and working tree, etc
-w, --ignore-all-space
    Ignore whitespace when comparing lines. This ignores differences even if one line has whitespace
    where the other line has none.
-M[<n>], --find-renames[=<n>]
    Detect renames. If n is specified, it is a threshold on the similarity index (i.e. amount of
    addition/deletions compared to the file’s size). For example, -M90% means git should consider a
    delete/add pair to be a rename if more than 90% of the file hasn’t changed.
-C[<n>], --find-copies[=<n>]
    Detect copies as well as renames. See also --find-copies-harder. If n is specified, it has the same
    meaning as for -M<n>.
source manpages: git-diff