While I can not answer your question specifically, I found that A Successful Git branching model written by Vincent Driessen http://nvie.com/posts/a-successful-git-branching-model/provided an explanation on how to create a workflow that handled separate branches for developement and production code.
There are also some excellent tutorials on different workflows with git on the atlassion website as well.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs