How to fix "cannot be resolved to branch" on git push?
<p>When I do a <code>git status</code>, I get my branch:</p>

<pre><code>$ git status
On branch OfflineLoading
</code></pre>

<p>When I tried to <code>git push</code>, I get:</p>

<pre><code>$ git push origin OfflineLoading
fatal: OfflineLoading cannot be resolved to branch.
</code></pre>

<p>When I check the branches, it is not there:</p>

<pre><code>$ git branch
   branch1
   branch2
   branch3
   branch4
</code></pre>

<p>How do I fix this?</p>