title: git merge ambiguous while merging two branches
body: <p>When I was working on merging couple of branches, i have accidentally created a branch instead of merging,</p>
  <p><strong>Example :</strong></p>
  <p>I was checking the list of branches available in the <code>local</code> and <code>origin</code> by typing <code>git branch</code>. But accidentally i have executed <code>git branch origin/DEV66</code> (<code>origin/DEV66</code> is the branch i need to merge with the branch <code>test</code>).</p>
  <p>So I have the following problem when merging the branch <code>test</code> and <code>origin/DEV66</code></p>
  <pre><code>warning: refname 'origin/DEV_66' is ambiguous.
  warning: refname 'origin/DEV_66' is ambiguous.
  </code></pre>
  <p>When typing <code>git branch</code> it shows the following branches</p>
  <pre><code>GRNDEV_893
  heads/origin/GRNDEV_893
  remotes/origin/GRNDEV_893
  </code></pre>
  <p>How to resolve this ambiguity and is there is any different between the branches <code>heads/origin/GRNDEV_893</code> and <code>remotes/origin/GRNDEV_893</code>.</p>