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.
Yes, it is possible since Sept. 3rd 2014: see "Introducing split diffs":

Diffs now come in two flavors, unified and split.
Switch between them on pull request, commit, and compare pages using the toggle in the top right of the page. The mode you last used will become your preferred default.
Note: since Sept. 4th 2014, it also support word diff highlights.
See "Does Github have a view that shows diffs between file versions?".
Since 2014, and the introduction of dark theme(!) in 2020, the UI is now:
using:
Note: adding "&diff=split" at the end of the URL will give you the same result: a split diff.