It seems that repo.update is currently missing, requiring a repo.remove `POST` followed by a repo.write `POST` instead of the single repo.update `PUT` operation. ref: http://developer.github.com/v3/repos/contents/#update-a-file