title: GIT: command to check current branch is present in remote tracking branch
body: <p>I am trying to write one command to check if current branch is present in Remote tracking branch or not. </p>
  
  <p>I got the current branch using below command: 
  git branch | sed -n -e 's/^* (.*)/\1/p'</p>
  
  <p>Output: master</p>
  
  <p>I can get all the remote tracking branches using below command:
  git show-branch -r</p>
  
  <p>My question is can we have one command which will check current branch i.e. "master" is present in remote tracking branches or not?</p>
  
  <p>Thanks in advance
  Pritish  </p>