After working with branch per feature for a while any Git-repository becomes a mess of outdated and not finished branches.
To deal with this issue, we need to clean-up three kinds of branches:
- Local branches – our day-to-day working branches
- References to remote branches – aka origin/branch-name items
- Actual remote branches – branches on remote server(e.g.: github, bitbucket, gitorius)