add a git library and basic git package handling