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