cURL
curl --request POST \ --url https://hub.oxen.ai/api/repos/{namespace}/{repo_name}/branches \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "from_name": "main", "new_name": "my_branch" }'
""
Get a branch if it exists, create a new one if not