For github web browsing, it is not shown as side by side as lots of diff tool does. Can I change the diff mode to side by side? I mean on the github web.
Not git diff
, but you can use git difftool
, which will call appropriate utility for your platform to do just what you are asking for.
For example, in Linux it will call meld
by default, which is very nice tool. git difftool
knows about quite a few diffing utilities, but you can also configure it to call your own.