def check_exists(fips_dir=None) :
    """test if git is in the path
    
    :returns:   True if git is in the path
    """
    try :
        subprocess.check_output(['git', '--version'])
        return True
    except (__HOLE__, subprocess.CalledProcessError) :
        return False

#-------------------------------------------------------------------------------
dataset/ETHPy150Open floooh/fips/mod/tools/git.py/check_exists