execute git pull only if you are in master branch