When you try to go back to the issue, it shows an error "Come back later" in different languages.
Remove GIT repository from a project when a story is in progress gives an error when trying to view the story
You're right. We should cascade remove all related data of that repository. What would you do with the status of the topics? It doesn't make sense them to be "In Progress" anymore, do they?
Added to backlog!!!