pytest for git common operation test