CUDA code on GitHub and learning resources for cuda

Hello Nvidia Developers,

I am interested in putting code that utilizes CUDA on GitHub, is this permissible and what license does this code need to go under? Also. what are the recommended learning resources for CUDA?

Thanks,
Austin