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