How to fix error: Cannot delete branch 'feature' checked out at '/path/to/repo' in Git | DevErrors