title: Can't push to remote branch, cannot be resolved to branch
body: <p>I migrated my repos from Bitbucket or Github.  I don't think this matters but it's the only thing different. For a little while, I had two remotes set up:</p>
  <pre><code>origin: bitbucket
  github: github
  </code></pre>
  <p>Then I removed both and pointed origin to github:</p>
  <pre><code>git remote remove origin
  git remote remove github
  git remote add origin https://github....
  </code></pre>
  <p>Test push of develop branch:</p>
  <pre><code>git push origin develop
  </code></pre>
  <p>Everything up to date, ok, good.</p>
  <p>Create a new branch for some work as per usual:</p>
  <pre><code>git checkout -b Feature/Name
  </code></pre>
  <p>Update a file or two.  Attempt to push to remote:</p>
  <pre><code>git push origin Feature/Name
  </code></pre>
  <p>This results in the error:</p>
  <blockquote>
  <p>fatal: Feature/Name cannot be resolved to branch</p>
  </blockquote>
  <p>Search online for this issue, find some stuff about ensuring HEAD is correct, others about making sure I've got my branch name case correct (though, at this point the branch doesn't exist on the remote yet).  Unable to resolve.</p>
  <p>Ran this command:</p>
  <pre><code>git push --all -u
  </code></pre>
  <p>This got my <code>Feature/Name</code> branch to github, but still see same behavior as prior:</p>
  <pre><code>git push origin develop
  git push origin Feature/Name
  </code></pre>
  <p>The first works while the second throws the same error. Why?</p>