code: def __get_git_bin():
      
      git = 'git'
      alternatives = [
          '/usr/bin/git'
      ]
      for alt in alternatives:
          if os.path.exists(alt):
              git = alt
              break
      return git
docs: Get git binary location.
  
      :return: Check git location