class Rugged::Repository

def remotes

in the repository.
Returns a Rugged::RemoteCollection containing all the Rugged::Remote objects

All the remotes in the repository.
def remotes
  @remotes ||= RemoteCollection.new(self)
end