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