[UX Polish] Do not show the "You cannot make changes" warning after changing branches

Description

With feat: Checkout branch (!144 - merged) we can now change branches, but there's a known UX issue:

If the user is not allowed to make changes to the repo, they can still change branches, but it will show the "You cannot make changes" warning again.

Implementation plan

  • We'll likely want to build off of the state management mentioned in the implementation plan for #109 (closed).
  • Maybe when we "reload", we don't have to reload everything?