Is there an easy way to grab files or directory listings from a remote bare git repository (preferably over SSH or git:// protocols)?
Background
I am trying to migrate from SVN to Git and we have some processes that download files directly from the Subversion repository over DAV deep within the tree (wget http://server/svn/branches/production/dir1/file). I need to replicate this behavior in git, but I don't think it's possible without checking out (& keeping updated) a remote working directory with apache pointing at it.
I see a git ls-remote git@server:repo.git
but I don't think you can go deeper into actual files.
I realize that doing this isn't the best way and I am also open to other ideas about how to handle processes needing specific files out of the tree.