CSP (content security policy) is a browser feature that enables you to specify a policy of what resources on your site the browser is entitled to interact with. This feature enables developers to mitigate a number of client side attacks.

One of the best ways to learn CSP is to play with CSP. Checkout the github repo README for links to content to help Github