How to configure git-diff so that long line not wrap around?
<p>I sometimes have long line of code in git repo (e.g. a json config file), and <code>git diff</code> will generate output like below.</p>

<p><img src="https://www.dropbox.com/s/71o88x38fgmwhlb/git-diff-config-multi-lines.png?dl=1" alt="long line"></p>

<p>On an EC2 instance, I <code>git diff</code> doesn't wrap the content to the next line, generating following output (I can use left/right keys to navigate), which I personally prefer.</p>

<p><img src="https://www.dropbox.com/s/neuqxrxi8n82w12/git-diff-config-one-line.png?dl=1" alt="short line"></p>

<p>Does any one know how I can config the <code>git-diff</code> to change from one behavior to another?</p>