title: Issue with pushing and tracking in new Git Bash release
body: <p>I've had some difficulties since the new Git Bash got released for windows. I don't know whether I made a mistake or not. I could recreate the cases again, see the screenshots below.</p>
  <p><a href="https://i.stack.imgur.com/BzXjY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BzXjY.png" alt="Photo_1" /></a>
  <a href="https://i.stack.imgur.com/z6qzG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z6qzG.png" alt="Photo_2" /></a></p>
  <p>First, I created a new dir, a non-empty README.txt file, then a new repository on github. I choose “…or push an existing repository from the command line” and paste these commands into my CLI:</p>
  <pre><code>git remote add origin 'remote repository URL'
  git push -u origin main
  </code></pre>
  <p>And until this point everything was okay.</p>
  <p>I created a new .txt file added and comitted to the local repo. As you can see I always double checked the current git status. I successfully pushed the amended file to the remote repo but still got: &quot;Your branch is ahead of 'origin/master' by 1 commit&quot;. Then I tried:</p>
  <p><code>git push -u 'origin'</code></p>
  <p>and it finally cleaned the working tree and also showed the following:
  &quot;Branch 'main' set up to track remote branch 'main' from..&quot;</p>
  <p>After that I did almost the same process: delete 1 file, add and commit. Checking again the git status and it didn't show the expected &quot;branch is ahead of 'origin/master' by 1 commit&quot;. This time it should be shown before pushing otherwise I might have some troubles tracking my work.</p>