I've been having difficulties with SourceTree crashing every time I click on a repo tab. After some messing around it turned out to be the sourcetreeconfig and sourcetreeconfig.json files generated in the repository's .git directory were the problem. Just deleting them solved the problem, they don't contain any important information.