cfengine stdlib =============== The cfengine stdlib repo on git is a repo initialized from the master branch of the official github masterfiles. To update, run: git clone https://github.com/cfengine/masterfiles/ cfengine_stdlib cd cfengine_stdlib/ git filter-branch --subdirectory-filter lib -- --all git remote remove origin git remote add git git@git:cfengine_stdlib git remote update git rebase git/master git push git master Then in your masterfiles repo: git submodule update --init --recursive cfengine modules ================ We have a second submodule for cfengine modules, also initialized from the master branch of the official github masterfiles. To update, run: git clone https://github.com/cfengine/masterfiles/ cfengine_modules cd cfengine_modules/ git filter-branch --subdirectory-filter modules -- --all git remote remove origin git remote add git git@git:cfengine_modules git remote update git rebase git/master git push git master Then in your masterfiles repo: git submodule update --init --recursive Note ==== Submodules were initialized with : git submodule add git@git:cfengine_stdlib lib git submodule add git@git:cfengine_modules modules