test the function of git operation