wondering if you might want to use request to handle this, instead of curl

that way you can know if the command worked via the response from github