cli: using pygit2

Signed-off-by: Yoan Blanc <yoan.blan@cern.ch>