You can do that with Pipelines. You have the option to connect any Git branch to any sandbox after you connect your repository.

Did this answer your question?