Chapter practice task
Task: Push your portfolio to GitHub, open a pull request and publish it with GitHub Pages
- Create a GitHub repository and push your local project.
- Create a branch, push it and open a pull request with a clear description.
- Merge the pull request and pull the changes locally.
- Clone the repository into a second folder to see how others get your code.
- Turn on GitHub Pages and share your live portfolio link.
By the end of this chapter
- Your work is backed up on GitHub
- You can collaborate with pull requests
- You can download any public project with clone
- Your portfolio is live on the internet for free
Quick answers for this chapter
Public or private repository?
Public for portfolio work you’re happy to show. Private for client work and anything confidential.
Is GitHub free?
The free plan includes unlimited public and private repositories, enough for freelancers.
Can I host a WordPress site on GitHub Pages?
No. GitHub Pages hosts static sites (HTML, CSS, JavaScript). WordPress needs PHP and a database.