added the function that shows the commit differences between the branch and its upstream branch, and some other minor tweaks, too