activities
latest
false
UiPath logo, featuring letters U and I in white

Integration Service Activities

Last updated Feb 19, 2026

Create Branch

Project compatibility

Windows | Cross-platform

Overview

DescriptionAPI MethodAPI Path
The Create Branch activity creates a new branch in a GitHub repository using a provided commit SHA as the base. POST/repos/{owner}/{repo}/git/refs

Input

ParameterDescriptionData Type
RepositoryRepository where the new branch will be created.string
Base branch SHASHA of the commit that will be used as the starting point for the new branch. string
BranchName of the new branch; must be a valid reference name without wildcard characters. string
KeyFull ref string for the branch, such as "refs/heads/newbranch". string

Output

ParameterDescriptionData Type
Branch SHASHA of the created branch reference.string
Create branchFull response object for the create‑branch operation.Object
Note:
  • In API workflows, a single response object is returned as the output. Any required fields can be extracted directly from this object.
  • In RPA workflows, some output parameters may differ, but the necessary values can still be retrieved from the response object even if they are not explicitly exposed.
  • Project compatibility
  • Overview
  • Input
  • Output

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2026 UiPath. All rights reserved.