Move the git calls into the library and push fost-dev as well.
Fix a typo.
Only initialise gitflow if the project uses it.
Always fully initialise the submodules.