#!/bin/bash 
cur=$(git rev-parse --abbrev-ref HEAD)
git checkout master 
git push origin master --tags 
git checkout stable
git merge master
git push origin stable
git checkout $cur

Add script for updating master/stable upstream
Add script for updating master/stable upstream
