Today I learned that I can ignore commits introducing white space only using in git blame and git git diff using -w option.