Comparing two branches is very beneficial : it can be used as a quick way to see if you will have merging conflicts. It can also be commonly used in order to see the work that has been done : by comparing a feature branch with an integration branch for example. In this tutorial, we are going to see how you can compare two Git branches easily.