Undev/grit — pull request #1 by maliqq (2013-02-14 13:54:49+00:00)
Title: create submodules from HEAD

Fixes this:

git clone
git checkout

repo = Grit::Repo.new("")
repo.submodules # parses .gitmodules from "master" instead of HEAD.