Have a branch selected when user switch repo in Compare Git Revision dropdown
Currently (MR https://gitlab.com/gitlab-org/gitlab/-/merge_requests/52967), whenever the user updates the `Target` repo, the branch will reset and have no branch unselected. That's because the branch name of one repository might not exist in another. ![branch-reset](/uploads/f65bbf4d0e12a37214a9a6b3fcd5adfb/branch-reset.mov) Let's continue to iterate and improve on this! Let's select a default branch instead of resetting when a user switches a repository :thumbsup:
issue