misc: update git rewrite script