title: Git: Recursively switching branch (checkout) on all submodules
body: <p>I'm working on a git repo that contains <code>submodules</code>. I've got branches by the same name (like <code>master</code>, <code>development</code>..) in all submodules (including parent module) and they all track their corresponding remote branches.</p>
  
  <p>I'd like to have same branches checked-out in all submodules at a time. In other words, what I want is that if I switch to <code>development</code> branch in parent module, all submodules should also switch to <code>development</code> branch so that my working tree remains consistent with branches.</p>
  
  <p>Manually doing this is painful and repetitive. Is there is shortcut?</p>