$ ./guess_the_languageGit
Git · medium · #57

Which description matches this state?

$ git fetch
$ git status
Your branch and 'origin/main' have diverged,
and have 2 and 1 different commits each, respectively.
  1. Remote has 2 new commits, local has 1
  2. Local is 2 behind and 1 ahead
  3. Both sides share 3 identical commits
  4. Local has 2 new commits, remote has 1
The first number counts your local commits and the second counts commits only on origin/main. You need a merge or rebase to reconcile them.
Play Git ▸