I want to extend the CP templates for editing pages/post. I want to add another button besides the "Live Preview" one, that links to a separate page, displaying a Git history/diff for each page/post. The same link should also be added to each pages dropdown nav in the page-tree.

I'd also love to build an addon for that. Any ideas?