View the original community article here
Last tested: May 29, 2018
Yes, the all_git_branches, git_branch, create_git_branch, update_git_branch, find_git_branch, and delete_git_branch endpoints are available. Check out our API reference doc.
You can use update_session to switch from prod to dev, then use update_git_branch to switch to the branch you want
This content is subject to limited support.