When a branch is merged in a code host and no longer relevant to a user we should purge it from the branches list in Codecov to:
Keep that list cleaner and more useful
Better mirror what a user knows in their git provider
more details here
[Jira](https://codecovio.atlassian.net/browse/CODE-3504)
**Problem to solve**
Codecov currently retains all branches from your code host ad infinitum, this creates a messy and overly difficult to use branch selector.
**Proposed Solution**
When a branch is merged or deleted from the user's code host, we should also remove it from our branch selector. Said differently: Our branch selector should mirror the branch selector in the code host.
When a branch is merged in a code host and no longer relevant to a user we should purge it from the branches list in Codecov to:
more details here
[Jira](https://codecovio.atlassian.net/browse/CODE-3504) **Problem to solve** Codecov currently retains all branches from your code host ad infinitum, this creates a messy and overly difficult to use branch selector. **Proposed Solution** When a branch is merged or deleted from the user's code host, we should also remove it from our branch selector. Said differently: Our branch selector should mirror the branch selector in the code host.