Git-ffwd is a project mainly written in Shell, it's free.
script to forward-port old branches
This is a quick hack to forward-port old branches. Caveat emptor.