Added forking to the repositories

Also fixed the branches of repositories, it was using the
response_or_error and self.paginate which failed.