After I git submodule update it always checks out the same commit. for example 34561.
git submodule update
34561
I do git checkout master for submodule a
git checkout master
You can execute:
git submodule foreach git pull origin master
This will update all your submodules.