Performance improvements for GitPHP