Please refer to
Working with Git Submodules in MantisBT