Checkout the branch name vs 'deploy' when syncing git repositories.