be able to get a resource (plugin or theme) from git repository

WP CLI permits to get resource from central WP repository.

It should be interesting to get a resource from a git repository.