Create a diff URL between two commits on github Git Github In order to create a diff URL between two commits in GitHub you need to follow below structure: https://github.com/[:github_username]/[:repository_name]/compare/[:initial_tag]...[:final_tag]