Added functionality to list all commits in a branch