git replay – EXPERIMENTAL: Replay commits on a new base, for bare repos too
git-scm.com