use Git::Repository instead of system( 'git', ... )