I think I know why you wanted methods like this (to avoid unnecessary REST API calls to `getRepository()`), but I don't want the library to become full of these short-cuts.

To address this without cluttering the API, I think we need to defer the REST call to retrieve the state of the repository. So I tweaked your commits and removed this method. I hope you are OK with this for the time being.