Flashing rom through fastboot
I purchased this phone and I am coming from an S3. If i had any trouble with my S3 I could always use ODIN to go back to stock. The nexus 5 doesnt have ODIN so my question is if something goes wrong in the future and I cant use TWRP or clockwork, how do i go back to stock? I am assuming I have to flash the stock image through fastboot. How do I go about doing that? Where can I find the stock nexus 5 images?
This is more of a learning process for me so your help is greatly appreciated. Thanks