I had need to get a list of a simple list of all commits for the Current branch. This approach was simple enough and gave me what I wanted. I modified it to just use HEAD
so that I can easily run it against the current branch.
git shortlog --no-merges --graph --abbrev-commit master..HEAD
This came from Alex who posted it on StackOverflow here: https://stackoverflow.com/a/61284456/296889