curl --location --request PATCH 'https://service1.exmaple.com/repos///git/refs/heads/feature-a' \
--header 'Content-Type: application/json' \
--data '{
"sha": "aa218f56b14c9653891f9e74264a383fa43fefbd",
"force": true
}'{
"ref": "refs/heads/featureA",
"node_id": "MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ==",
"url": "https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA",
"object": {
"type": "commit",
"sha": "aa218f56b14c9653891f9e74264a383fa43fefbd",
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd"
}
}