code: def default_backends(cls):
          
          paths = []
          paths.append(os.path.expanduser("~/.gitconfig"))
          paths.append("/etc/gitconfig")
          backends = []
          for path in paths:
              try:
                  cf = ConfigFile.from_path(path)
              except (IOError, OSError), e:
                  if e.errno != errno.ENOENT:
                      raise
                  else:
                      continue
              backends.append(cf)
          return backends
docs: Retrieve the default configuration.
  
          This will look in the repository configuration (if for_path is
          specified), the users' home directory and the system
          configuration.