Creating a Tag in the GitHub Repository:
Step 1: Go to the GitHub repository where you want to make changes
Step 2: Go to the Releases section
Step 3: Click on Create a new release
Step 4: Click on the dropdown menu in the Choose a Tag section and add the tag that you want to add.
Step 5: Choose the branch whose code you want to be taken for adding the tag.
Step 6: Write the Release title that you desire and add the description if you want.
Step 7: Click on the Publish release button present at the left bottom to publish your tag.
Step 8: Now on your repository page, you can see your desired tag under the Tags section.