Converted 'git' command for updating submodules from remote repositories (branches) into a shell script.