title: Switching branches in git tracking
body: <pre><code>What does the 'main' setup to track remote branch main from origin mean?
  </code></pre>
  <p>I understand Origin is the URL for my remote repository</p>
  <pre><code>&gt; PC@DESKTOP-R8DI61V MINGW64 ~/Desktop/team6/ch (team1.1) $ git checkout
  &gt; main Switched to a new branch 'main' Branch 'main' set up to track
  &gt; remote branch 'main' from 'origin'.
  </code></pre>
  <p>Also when I change to a different branch say team1</p>
  <p>And use git branch, the main branch does not show</p>