git checkout -b topic-branch.
revert:, followed by the header of the reverted commit. In the body it should say:
This reverts commit <hash>., where the hash is the SHA of the commit being reverted.
BREAKING CHANGE:with a space or two newlines. The rest of the commit message is then used for this.