Added remotes() method for getting all remote repositories.