Import (some of) git as git/

Mostly unmodified. Obviously this crap is GPLv2 or whatever git is. It
will be removed when port to libgit2 is complete.
git-isvn(1): WIP import from git