refactoring git-rebasetosubtree command

use git-filter-branch with --tree-filter