I've got two branches on a repo in GitHub; one is the default branch master, and the other is called gh-pages. I set the default branch to be gh-pages on GitHub.
I use VS Code Editor to code my project (coder-in-pink), so I created a new branch named gh-pages in VS Code, and I committed my saved work in the source control. 
I'm not allowed to embed pictures in my posts yet, so here's the little picture of the gh-pages branch I set in VS Code. (It might not be very helpful, though.)
But today I found out that it had been committed to the master branch. How do I move/transfer it to the gh-pages branch?
Thanks!
P.S. I'm planning to make the website with HTTPS and a custom domain afterwards, which is why I want to use the gh-pages branch.
Here's the link to my repo on GitHub => Coder In Pink.
 
     
    