Adds code for commit compare within a PR.