This is a checklist for adding a license to your project repository.
Go to your repository folder (local computer or online repository on GitHub/GitLab/BitBucket)
Create a new file and name is
License.mdbased on your preference of the file format
Choose a type of license (or multiple license for mixed content) that is suitable for your project (visit choosealicense.com)
Save your file and add details in your README.md file