def find_git_command():
 if (sys.platform == 'win32'):
  try:
   import win32api
  except ImportError:
   return ['cmd', '/c', 'git']
  else:
   (status, git) = win32api.FindExecutable('git')
   return [git]
 else:
  return ['git']

def find_git_command ( ) : if ( sys . platform == 'win32' ) : try : import win32api except ImportError : return [ 'cmd' , '/c' , 'git' ] else : ( status , git ) = win32api . FindExecutable ( 'git' ) return [ git ] else : return [ 'git' ]
find command to run for system git .