Update dependencies and use forked version of phpgit