Creating a remote branch in a remote repository

Hello.

I am new to Git, so please forgive me if this is a stupid question, but is it possbile to create a remote branch in a remote repository?

For example, suppose I have a primary repository that holds the baseline version of my application.  The developers each clone that repository and develop in their own clone.  When a developer had completed their work, it needs to be handed to the team team. 

One approach I am considering is creating a repository for the test team that is a clone of the primary repository, but the developers push to when they have work that needs testing.  Specifically, I was wondering if it would be possible for the developer, from they own repository, to cause a remote branch to be created in the testing team’s repository that points to a branch in the developer’s repository, rather than the test team having to add the developer’s repository as a remote and creating the tracking branch themselves?

Thanks,

Carl

Hey Carl,

Thank you for being here! And not to worry there is no such thing as a stupid question, someone might have an idea of how best to implement a workflow for your project but I’ve wanted to share with you a quick read about branching.  I hope this helps!

Best,

Andrea