4 Get Code Examples from MPLAB Discover
MPLAB Discover bundles the available resources from multiple sources into one portal.
The MPLAB Discover webpage: MPLAB Discover
Code Examples
You can download code examples as a .zip file directly from MPLAB
                  Discover. Repositories ending with “studio” can be opened in Microchip
                  Studio. Repositories ending with “mplab-mcc” can be opened in MPLAB X. 
When the code example is hosted on GitHub, MPLAB Discover provides a link
                        “Open with Github”. There you can download the example code or use
                  the git tool on your PC to create a local repository clone. 

