Basic submodule support (treats submodules as bare repos)

Follows the "gitdir" link in the ".git" file to find the actual repo.