Thank you for being here! In order to create a branch via API, you would have to use the Git Refs API. Creating a new reference takes two parameters. For a branch, the
ref should look like
sha should point to a hash from which to branch off.
I hope this helps!
Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!