The master is blue, the branch is green.
Deploy from OSEv3.
oc new-project bluegreen --display-name="Blue Green" --description='Blue Green Deployments'
oc new-app https://github.com/devops-with-openshift/bluegreen#master --name=blue --strategy=sti
oc expose service blue --name=bluegreen
oc new-app https://github.com/devops-with-openshift/bluegreen#green --name=green
oc get route/bluegreen -o yaml | sed -e 's/name: blue$/name: green/' | oc replace -f -
oc get route/bluegreen -o yaml | sed -e 's/name: green$/name: blue/' | oc replace -f -