# Git Branch Naming - Custom Template {name} variable not reflecting renamed branch name

**URL:** https://forum.builder.io/t/git-branch-naming-custom-template-name-variable-not-reflecting-renamed-branch-name/16010
**Category:** General
**Created:** [December 8, 2025, 10:57am UTC](https://forum.builder.io/t/git-branch-naming-custom-template-name-variable-not-reflecting-renamed-branch-name/16010 "2025-12-08T10:57:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![agnwoj99](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/agnwoj99/32/5477_2.png) [@agnwoj99](https://forum.builder.io/u/agnwoj99)
#### Post date: [December 8, 2025, 10:57am UTC](https://forum.builder.io/t/git-branch-naming-custom-template-name-variable-not-reflecting-renamed-branch-name/16010/1 "2025-12-08T10:57:57Z")

</div>

Hi, I’m having an issue with the “Git Branch Naming” feature in Projects.

**Setup:**

- Git Branch Naming: Custom

- Custom Template: `feat/{name}`

**Problem:** When I create a new branch and then rename it using “Rename branch” option, the new name is visible on the project tile in the UI. However, when I push changes to GitHub, the branch is created with the **original auto-generated name** , not the renamed one.

**Example:**

1. I create a new branch → Builder generates name like “branch-abc123”

2. I rename it to “user-authentication” via “Rename branch”

3. The tile shows “user-authentication” ✓

4. I push to GitHub → branch is created as `feat/branch-abc123` ✗

5. Expected: `feat/user-authentication`

**Questions:**

1. Is this the expected behavior for the `{name}` variable?

2. What variables are available for the Custom Template? (Is there documentation for this?)

3. Is there a way to set a custom branch name that will actually be used when pushing to GitHub?

4. Is there a workaround to achieve custom branch naming that follows our team’s conventions (e.g., `feat/feature-description`)?

Thank you for your help!
