In combination with the function which creates a commit into a buffer, this allows us to more easily create signed commits.