run git commands with java methods