I would like to be able to use GitInfo functions for a site where content is a .git submodule.
To be more concrete, I would like to be able to set the repoPath to the path where the submodule is located (e.g. /content).
Would it be possible to make GitInfo slightly more flexible - or be able to accept some params to accommodate a case like this?