execute git by shell if we got error from subprocess module