Install motog stock framework I installed cynogen mod 12 to my motoG, now I want to install stock rom, I got it from XDA, But how can I install? can anyone please give me steps to install it?
The XDA post you referenced tells you how to do what you are asking (taken from the XDA post):

How to flash:


Download ROM to Internal SD.
Boot into Custom Recovery.
Factory Reset (System, Data, Cache, Dalvik)*
Flash ROM with TWRP and reboot.


*NB: It is often also necessary to Wipe > Format /data > Yes (Warning: This will erase internal storage) - Do this before reporting any bugs.