get cwd and use commit in git gem