# Toolkit git configuration : using a branch

**URL:** <https://community.shotgridsoftware.com/t/toolkit-git-configuration-using-a-branch/14950>\
**Category:** Pipeline Integrations\
**Created:** [March 11, 2022, 11:39am UTC](https://community.shotgridsoftware.com/t/toolkit-git-configuration-using-a-branch/14950 "2022-03-11T11:39:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![donat](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/donat/32/6390_2.png) [@donat](https://community.shotgridsoftware.com/u/donat)\
**Post date:** [March 11, 2022, 11:39am UTC](https://community.shotgridsoftware.com/t/toolkit-git-configuration-using-a-branch/14950/1 "2022-03-11T11:39:31Z")

</div>

Hi,

When creating new projects using the ‘advanced project configuration’, I’m using our git configuration stored on github, so I fill in our http url in when the advanced project wizard asks for it.

In this git config, I have a master branch and another branch ‘aces’. I would like to use the ‘aces’ branch instead of the master branch. Is this possible ? Is there a way to put the branch somewhere in the url ?

Or is it only possible to switch the branch once the git repo is copied locally ? (I’m not using a distributed config)

Thanks

---

<div class="post-metadata">

**Author:** ![mmoshev](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/mmoshev/32/476_2.png) [@mmoshev](https://community.shotgridsoftware.com/u/mmoshev)\
**Post date:** [March 11, 2022, 12:01pm UTC](https://community.shotgridsoftware.com/t/toolkit-git-configuration-using-a-branch/14950/2 "2022-03-11T12:01:58Z")

</div>

You should be able to do this with a `git_branch` descriptor  
[https://developer.shotgridsoftware.com/tk-core/descriptor.html](https://developer.shotgridsoftware.com/tk-core/descriptor.html)  
Not sure how to do this for the project config, though.

---

<div class="post-metadata">

**Author:** ![donat](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/donat/32/6390_2.png) [@donat](https://community.shotgridsoftware.com/u/donat)\
**Post date:** [March 11, 2022, 1:59pm UTC](https://community.shotgridsoftware.com/t/toolkit-git-configuration-using-a-branch/14950/3 "2022-03-11T13:59:59Z")

</div>

Thanks

I’m going to fetch and checkout the remote branch after the project creation for now.
