Re-index does 2 operations:

  • Updates local repository from remote
  • Updates local indexes which contain info about every commit