Hello,
In bitbucket commits are stored in the which table in the bitbucket database.
Thanks
Naveen
I think the commit messages (as opposed to pull request descriptions) are not stored separately in Stash, they are retrieved from git as needed. The Stash documentation lists the available Java APIs to access Git from within Stash plugins.