How to connect my Github individual user account in Github pages to a custom domain for pulishing posts

I have a Github account with the username vikworks1. I am working on creating content (i.e creating a website of mine) in Github pages feature of my Github account.

I am not able to understand exactly how can I connect content of my website in Github pages in my Github account with username vikworks1 to a custom domain in order to publish posts in that website so that people who come across my website or the content featured in it can easily access or be able to view the content that I post on my website in Github pages securely.

May I please know for the content that I post in my website on Github pages in my Github account under the username vikworks1 for it to be viewed or accessed securely by people visiting the website, what steps need to be taken by me and how can I know more about the same?

In other words, in order for the content that I post on my website on Github pages in my Github account with the username vikworks1 to be easily accessible by people in a secure manner, what exactly to be done by me and how can I know more about it?

I prefer that the URL of the website that I develop on Github pages in my Github account with the username vikworks1 be of the form https://www.vikworks1.com or https://www.vikceo.com. May I please know how can I get this done and how can I know more about it?

It’s the other way around, you need to connect your custom domain to your GitHub Pages website — you don’t need to (and should NOT) share your personal GitHub account info (e.g. password) with the domain service. You’ll find all the instructions on how to do directly in your repository settings for GHPages, where you’ll see the options to connect a custom domain.

GitHub Pages website are already secure and offer HTTPS connection for free. If you want your website to be shown using you custom domain, then you’ll have to ensure that your domain has HTTPS (which might either be included or come at an additional cost), but this is something you have to check with your domain provider, not here.