git subtree command code example Example: git subtree push git subtree push --prefix=my/folder subtree_origin master