Made some changes to the git rewrite