title: Git Bash - Git is showing branches as being up to date when they actually aren't
body: <p>I've got two local branches, <em>main</em> and <em>dev</em>. When I try commiting and pushing changes from dev to main, it says everything is up to date and nothing actually happens. Additionally, my github repo does not reflect the latest changes in my local repo, even though I have tried pushing it up and it says it was successful. Commits are not showing on my new repo.</p>
  <p>When I type &quot;git remote show origin&quot;, this is the output:</p>
  <pre><code>$ git remote show origin
  * remote origin
    Fetch URL: &lt;myRepo'sURL&gt;
    Push  URL: &lt;myRepo'sURL&gt;
    HEAD branch: main
    Remote branches:
      dev  tracked
      main tracked
    Local branch configured for 'git pull':
      main merges with remote main
    Local refs configured for 'git push':
      dev  pushes to dev  (fast-forwardable)
      main pushes to main (up to date)
  </code></pre>
  <p>I'm very new to git so sort of learning as I go. Anybody have any idea as to why I am experiencing this issue? I can run other commands to provide more info if needed</p>
  <p>To push changes, here is the process I follow:</p>
  <p>First, git status. The output is this:</p>
  <pre><code>On branch dev
  Changes not staged for commit:
    (use &quot;git add &lt;file&gt;...&quot; to update what will be committed)
    (use &quot;git restore &lt;file&gt;...&quot; to discard changes in working directory)
          modified:   __pycache__/app.cpython-39.pyc
          modified:   app.py
  
  no changes added to commit (use &quot;git add&quot; and/or &quot;git commit -a&quot;)
  </code></pre>
  <p>Then, I run &quot;git add .&quot; No output from this command.</p>
  <p>Next, &quot;git commit -m &quot;test&quot;. Here is the output:</p>
  <pre><code>$ git commit -m &quot;test&quot;
  [dev 5af52ce] test
   2 files changed, 4 insertions(+), 8 deletions(-)
  </code></pre>
  <p>Finally, &quot;git push origin main&quot;. Here is the output:</p>
  <pre><code>$ git push origin dev
  Enumerating objects: 20, done.
  Counting objects: 100% (20/20), done.
  Delta compression using up to 16 threads
  Compressing objects: 100% (14/14), done.
  Writing objects: 100% (16/16), 1.77 KiB | 1.77 MiB/s, done.
  Total 16 (delta 10), reused 0 (delta 0), pack-reused 0
  remote: Resolving deltas: 100% (10/10), completed with 3 local objects.
  To &lt;myRepo'sURL&gt;
     0f1504d..5af52ce  dev -&gt; dev
  </code></pre>
  <p>Thanks!</p>