# Create new branch and send pull request

**URL:** <https://discuss.bitrise.io/t/create-new-branch-and-send-pull-request/18279>\
**Category:** Question & Answer\
**Created:** [October 8, 2021, 8:43pm UTC](https://discuss.bitrise.io/t/create-new-branch-and-send-pull-request/18279 "2021-10-08T20:43:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ebere](https://avatars.discourse-cdn.com/v4/letter/e/35a633/32.png) [@ebere](https://discuss.bitrise.io/u/ebere)\
**Post date:** [October 8, 2021, 8:43pm UTC](https://discuss.bitrise.io/t/create-new-branch-and-send-pull-request/18279/1 "2021-10-08T20:43:26Z")

</div>

How do you create a new branch after clone and send a pull request after build and deployment success?

---

<div class="post-metadata">

**Author:** ![Roland-Bak](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/roland-bak/32/3480_2.png) [@Roland-Bak](https://discuss.bitrise.io/u/Roland-Bak)\
**Post date:** [November 3, 2021, 12:20pm UTC](https://discuss.bitrise.io/t/create-new-branch-and-send-pull-request/18279/2 "2021-11-03T12:20:33Z")

</div>

Hello @ebere 👋

Usually Bitrise works by starting builds via incoming webhooks, and sending feedback to the git repository, but you CAN manipulate the repository via API calls made by a Script step that you can put in your workflow.

You can find the API of Github here, for example: [GitHub REST API - GitHub Docs](https://docs.github.com/en/rest)

Hope this helps! 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [August 19, 2022, 5:38am UTC](https://discuss.bitrise.io/t/create-new-branch-and-send-pull-request/18279/3 "2022-08-19T05:38:56Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
