Get commit sha of every commit in every branch of a repo


I am working on a project which requires to get commit sha from each branch and each repo in an organisation.So,far I am only able to get commit count in each branch but not the commit sha or commitDate.Any inputs will be highly helpful

Thank you