This assumes that you use Git Bash. First, navigate to the folder in you local computer where you want git to clone the remote branch. Once there, we can start cloning the repo. The following steps do the dirty work:
$ git init $ git fetch <git url> <branch name>:refs/remotes/origin/<branch name> $ git checkout -b <branch name> origin/<branch name>
This retrieves the contents of the remote branch and copies it to our local computer in a local branch (confused yet?). To update our copy of the submodules, the following commands should work:
$ git submodule init $ git submodule update