How To Create a GitHub Portfolio
Tags: github, portfolio, career, careerdevelopment
Published: 2023-06-10 18:16:24

Learning how to create a GitHub portfolio is a great way to showcase your work as a Junior Developer and make it easy for potential employers or collaborators to see what you can do. In this step-by-step guide, we'll walk you through the process of creating a portfolio using GitHub Pages.

{% embed https://www.youtube.com/watch?v=CykufIPK_6o %}

## Step 1: Create a GitHub account

If you don't already have one, create a GitHub account. This will give you access to all of the tools you need to create your portfolio.

## Step 2: Create a new repository

Once you're logged in to GitHub, click on the "+" button in the top-right corner of the screen and select "New repository". Give your repository a name (e.g. "portfolio") and select "Public". Then, click "Create Repository".


![Create a GitHub Repository](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i5jxtz4negacyarx1all.jpg)

## Step 3: Enable GitHub Pages

In the Settings tab of your repository, scroll down to the GitHub Pages section and select "Main" branch as the source. This will enable GitHub Pages for your repository and make your portfolio live at "https://[username].github.io/[repository-name]".


![Create GitHub Page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/glhecji3s4jeehnzb37a.jpg)

## Step 4: Clone Your Repository

Next, you need to clone your repository to your local machine. You can do this either by using GitHub Desktop or the command line, whichever you prefer. You can find instructions for this in the code dropdown in your repository and you can clone your repository to any location on your local machine.


![Clone a GitHub Repository](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l8rmgtkmxcsfhvut55mp.jpg)

## Step 5: Create the HTML and CSS for your portfolio

Now it's time to create the HTML and CSS that will make up the pages of your portfolio. You can do this using a code editor like Visual Studio Code, and you can use a framework like Bootstrap to make the process easier. There are also many free templates available to help you get started. Here's a [link](https://github.com/nisarhassan12/portfolio-template) to the template I'm using.

You can also include screenshots and a brief description of your projects to give visitors an idea of what you've been working on.


![GitHub Portfolio Template](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3vr9ytoyxwlxcs8ovwmf.jpg)

## Step 5: Optimize for SEO

To optimize your portfolio for search engines, make sure to include keywords in your HTML files, including your skill sets in your title, description, and headings. You can also include meta tags to help search engines understand what your portfolio is about.

## Step 7: Share your portfolio

Once you've finished creating your portfolio, push your code to your repository. You can do this using the Source Control panel for VSCode.


![VSCode Source Control Panel](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ifmc49zsezrz9cqu990z.jpg)

If you go back to your repository settings, you should see the url for your website. You can share the link to your portfolio on your social media accounts, on your personal website, or in your email signature.

And that's it! By following these simple steps, you'll have a professional-looking portfolio that showcases your skills and makes it easy for potential employers or collaborators to learn more about you.

Learn More Tips On How To Create a GitHub Portfolio In My [Tech Career Newsletter](https://hoffstech.com/newsletter)!