[git] Run git from correct dir
[git] Implement reading packfiles (except for REF_DELTA objects)