Function for creating a GitHub repo using the api.