github compare commits code example
Example 1: github compare commits
github.com/<username>/<repo_name>/compare/<commit1>...<commit2>
Example 2: how to compare two commits in git
$ git diff 012345..abcdef
github.com/<username>/<repo_name>/compare/<commit1>...<commit2>
$ git diff 012345..abcdef