These are instructions on how to root Motorola Moto G (2015) using the TWRP recovery on Windows Computer.
Requirements: Your smartphone should have at least 20-30 percent of battery to perform the rooting process.
The above command helps to know the list of attached devices to the computer.
The above command helps you to boot into the adb mode.
Optional: You can also verify the root status of your device by using the Root Checker Application.
[*] No data loss process: Your data including contacts, pictures, videos, music wont be affected using the above method. In short, no data loss process.
[*] How to remove Unlocked Bootloader Message: If you have unlocked the bootloader on Motorola Moto G (2015), then you might be getting Unlocked Bootloader message when you restart your device. You can disable or remove this message by following how to remove unlocked bootloader message on Moto G (2015).
[*] Motorola Stock Firmware: If you are looking for the original firmware for your device, then head over to Download Motorola Stock Firmware page.
[*] Motorola USB Driver: If you are looking for the original USB Driver for your device, then head over to Download Motorola USB Driver page.
[*] Big thanks to Chainfire for their SuperSU file for Motorola Moto G (2015), without this tool the above tutorial was not possible.