I've been learning Japanese for 3 or 4 years now, and I still don't fully understand the difference. I think it's one of the most difficult aspects of the language and takes many years to fully comprehend. If you're a beginner, it's probably best just to try to understand the basic difference between marking topics with "wa" and marking subjects with "ga" (you should be able to find textbooks or websites that provide an introductory account of this), and then the best you can do is hope to develop your understanding as you learn more vocabulary and more complex grammatical structures.
After you've got the basic differences clear in your mind, I'd recommend looking at Jay Rubin's "Making Sense of Japanese", which has a very good section on "wa" and "ga" (and also one of the best explanations of "giving" and "receiving" verbs that I've come across). The only problem is, your Japanese needs to be better-than-basic in order to understand the example sentences used in this book (I'm still struggling with it, but I find it's a useful struggle nonetheless!).
Overall, I think it's futile to try to find an explanation of "wa" and "ga" that will tell you everything you need to know at once. The usage of these 2 particles is just too complex, and has to be picked up gradually over time. (At least, that's what I keep telling myself, in order not to abandon all hope of ever reaching fluency!)
I hope this answers helps, and is not too discouraging!