$ ./guess_the_languageGit
Git · easy · #11

Which branch does git switch - take you to?

  1. The most recently created branch
  2. The previously checked-out branch
  3. The repository's default branch
  4. The upstream of the current branch
Like cd -, the - shorthand means the branch you were on before the last switch (@{-1}).
Play Git ▸