fixed a few things in the git api, added new features