Twitter source code was leaked on GitHub shortly after Musk’s layoff spree
arstechnica.com
arstechnica.com
So proving that someone downloaded all of the source code right before the leak would be pretty strong circumstantial evidence. It's not impossible to prove it just because you don't have a smoking gun.