Add support for git volumes.

nit: newGitRepo seems to be idiom