Could we help you? Please click the banners. We are young and desperately need the money
Sometimes you want to compare a repository's state between commits. GitHub supports this functionality but doesn't provide a UI method to get to it. Here's how to use it.
Firstly, you'll want to get the hashes of the commits you wish to compare. In your repository's commit history, to the right of each commit, you'll see its shortened hash as well as an option to copy the full hash. Either will work for us.
Once you have the hashes, to do the comparison, you have to create and view a specific URL. You can use the following template:
https://github.com/{organisation or user}/{repository}/compare/{commit hash A}..{commit hash B}
An example comparison URL could be: https://github.com/lexo-ch/acf-image-focus/compare/0c13485..f67a004
Mind the two (2) periods between the commit hashes. They indicate to GitHub that the comparison should be between commits. If you use three (3) periods, the comparison will be understood as between two branches instead.