Careers and getting hired · Beginner · 16 min
Build a developer portfolio on GitHub that gets interviews
By Padding · Updated 18 Nov 2026
GitHub (web) · November 2026
You will turn your GitHub account into a portfolio with a profile README, up to six pinned repositories that each explain and demonstrate themselves, and a one-page site that links it all, ready to send to a hiring manager.
On this page
When you apply for a developer job, your GitHub link sits on your CV next to your name. Some reviewers never click it. The ones who do are usually an engineer on the team, between other work, deciding whether you are worth an interview slot. Plan for about two minutes of their attention. In that time they read your profile page, open one or two repositories, look at the top of the README, maybe click a demo, and maybe open one source file.
That shapes everything in this tutorial. A reviewer in two minutes cannot judge a hundred repositories or a year of green squares on the contribution graph. They can judge whether one project is finished, explained and working. One finished project tells them more than a busy graph, and a graph full of tutorial follow-alongs can count against you, because it shows activity without showing judgement.
You will follow Tunde, a self-taught frontend developer in Lagos who works in customer support and is applying for junior frontend roles. His main project is a searchable library of support answers that his team uses on their phones. By the end you will have the same pieces he has: a profile README, up to six pinned repositories that each explain themselves, and a short personal site that links to all of it.
Step 1 · Look at your profile the way a reviewer will
Before changing anything, see what a stranger sees. Open a private browser window, where you are signed out, and go to https://github.com/<your-username> (replace <your-username> with yours). Set a timer for two minutes and click around as if you were deciding whether to interview this person.
In a new document called "GitHub portfolio notes", write down:
- The first thing your eye landed on.
- Which repositories appear at the top, and whether you would choose those.
- How many repositories have no description.
- Any repository whose name you would not want a hiring manager to read: forks you never changed, course exercises named
test2, a repository that only holds a.DS_Store. - Whether your profile has a name, a photo or neutral avatar, a one-line bio and a location.
Then fill in the basics. Open your profile, choose Edit profile, and add your real name (or the name on your CV), a bio of one line that names the role you want ("Frontend developer. React, TypeScript, accessible UIs for phones."), your city, and a link field you will fill in Step 6.
Make private the repositories you listed as embarrassing: in each repository's Settings, under Danger Zone, change its visibility to private. Do not use archiving for this. Archiving only marks a repository read-only; an archived public repository stays visible on your profile with an "Archived" label. Delete a repository only if you are sure you will never want to show it.
Check it worked
Your notes document has the five observations above. Viewed signed out, your profile shows your name, a one-line bio that names a role, and a location, and none of the repositories you listed as embarrassing appear in its Repositories tab.
Step 2 · Choose six repositories for the role
GitHub lets you pin up to six repositories and gists to the top of your profile, and those six are what reviewers open. Choose them for the adverts you are applying to, not for what took you longest.
Open the "Skills to prove" list from pick portfolio projects that show you can do the job. If you have not done that tutorial, write down the five skills that appear most often in three current adverts for your role. For each candidate repository, note which of those skills it proves. Then pick, in this order:
- One or two finished projects with a real user or real data. These are the core of the portfolio. They go first.
- One project that shows a different skill from the adverts. For a frontend role, maybe an accessible form component library or a small app that works offline.
- One contribution to someone else's code. A merged pull request to an open-source project, even a small fix, shows you can read unfamiliar code and work with reviewers. Once the pull request is merged, pin the upstream project itself: GitHub lets you pin a public repository you own or have contributed to in the past year. Do not pin your fork; its README is the project's own unless you edit it, and commits to a fork do not count as contributions. If you have not contributed yet, make your first open source contribution count as experience walks you through one.
- Up to two smaller pieces that each prove one thing clearly: a command-line tool, a well-tested utility, a write-up of a bug you tracked down.
Leave out clones of famous apps, course capstones that everyone on the course built, and anything you could not explain line by line in an interview. Six is a maximum, not a target. Four strong repositories beat six where two are filler.
Tunde pinned: the support answer library (React, used by 12 colleagues), a Naira and Cedi currency formatter package with tests, a merged fix to an open-source date picker's keyboard handling, a Lighthouse report comparison for his library before and after he cut the bundle size, and his profile site. He left the sixth slot empty.
Check it worked
Your notes list four to six repositories, in the order you will pin them, each with at least one skill from your "Skills to prove" list next to it. No two repositories are there to prove only the same skill.
Step 3 · Rewrite each README so it opens with what the project does
A reviewer reads the top of the README, which GitHub shows on the repository page under the file list, and decides from that whether to read on. Rewrite the README of each chosen repository so the first screen answers four questions in this order:
- What it is and who it is for, in one or two sentences. "A searchable library of 40 support answers for the customer support team at a Lagos fintech. Agents find and copy an answer from their phone in under ten seconds."
- What it looks like. A link to the live demo, and a screenshot or short GIF of your own project, saved in the repository (for example in a
docs/folder) and linked with a relative path. - How to run it. The exact commands, in a code block, from cloning to seeing it work. Test them on a fresh clone; a run command that fails is worse than none.
- What you decided and why. Two to four bullet points on the choices a reviewer would ask about in an interview: why this framework, how you handled slow connections, what you left out.
Below that, keep the detail: tests, project structure, known limits and what you would do next. For a project with a real user, say who uses it and what changed, with their permission, and with names and personal details removed.
A short README structure that works for most projects:
# Support answer library
Searchable library of support answers for a customer support team.
Agents find and copy an answer on their phone in under ten seconds.
**Live demo:** https://<your-username>.github.io/support-answers/

## Run it locally
git clone https://github.com/<your-username>/support-answers.git
cd support-answers
npm install
npm run dev
## Decisions
- Static site with a JSON file of answers, no server: the team had no budget for hosting.
- Search works offline after the first visit, because agents lose signal on the bus.
- Total page weight under 150 KB so it loads on prepaid data.
## Tests
npm testReplace the project details and <your-username> with your own. For a deeper guide to README writing in general, see write a README people actually read.
In Nigeria and across Africa
If your users are on low-end Android phones or prepaid data, say so in the README and show the evidence: page weight, a Lighthouse score on a throttled mobile profile, or a screenshot at 360 pixels wide. Reviewers in any country treat working within those limits as real engineering. If your project handles more than one language, such as English and Yoruba, or English and Swahili, show a screenshot of each.
Check it worked
Open each chosen repository signed out. Without scrolling past the first screen of the README, you can see one or two sentences on what it does and for whom, a demo link or screenshot, and a run command in a code block. You have run that command on a fresh clone and it worked.
Step 4 · Make the repository itself look finished
Reviewers who get past the README glance at the repository's edges: the description, the commit list and whether there are tests. Fix each one.
Description, website and topics. On the repository page, click the gear next to About. Write a description of one line (it shows on your pinned card), put the demo URL in the website field, and add three to six topics such as react, accessibility, offline-first. Topics use lowercase letters, numbers and hyphens.
Commit history. Open the commit list. You do not need to rewrite history, but from now on write messages that say what changed and why: "Cache answers for offline search" rather than "update" or "fix stuff". If the last commit is "WIP" or "broken, fix later", finish that work or revert it so the default branch is in a state you would show.
Tests and a CI badge, where they exist. If the project has tests, make sure npm test (or your language's equivalent) passes and say how to run it in the README. If you have a GitHub Actions workflow that runs those tests, add its status badge to the top of the README: open the Actions tab, select the workflow, open the menu next to the filter field and choose Create status badge, then copy the Markdown. If you have no workflow yet, your first GitHub Actions workflow sets one up. Do not add a badge for a workflow that fails; a red badge on a pinned repository is the first thing a reviewer sees.
Remove what should not be there. Check that no .env files, API keys, passwords or real customer data are in the repository, including in old commits. If a secret was ever committed, treat it as leaked: revoke it with the service that issued it and create a new one. Then add a .gitignore so it cannot happen again.
A licence. Add a LICENSE file if you want others to be able to reuse the code. Without one, people can read it but have no permission to reuse it.
Check it worked
Each chosen repository has a one-line description, a website link (or a line in the README saying why there is no demo), at least three topics, and a last commit message that describes a change. Any repository with tests says how to run them, and any badge on it shows a passing run.
Step 5 · Write a profile README and pin your repositories
A profile README is a Markdown file that GitHub shows at the top of your profile page. To make one, create a new public repository with exactly the same name as your username, and add a README.md file to its root with some content. GitHub then displays it on your profile.
Keep it short. A reviewer reads the first few lines and moves on to your pinned repositories, so the README's job is to point at them. A structure that fits on one screen:
### Tunde Adebayo — frontend developer, Lagos
I build fast, accessible web apps for people on phones and slow connections.
Looking for a junior frontend role (remote or Lagos).
**Start here:** [Support answer library](https://github.com/<your-username>/support-answers)
— used daily by a 12-person support team; offline search, under 150 KB.
- Stack: HTML, CSS, JavaScript, TypeScript, React, Vitest
- Also: one merged fix to an open-source date picker's keyboard handling
- Site and CV: https://<your-username>.github.io
- Contact: email on my siteReplace the name, project and links with your own. Leave out visitor counters, long lists of technology logos and generated statistics cards: they take up the screen without telling a reviewer anything they can check. Put your email on your site rather than in the README if you want to limit spam.
Now pin the repositories. On your profile, select Customize your pins in the pinned or popular repositories section, tick the repositories from Step 2 and select Save pins, then drag the pinned cards on your profile into the order from Step 2.
Check it worked
Signed out, your profile page shows your profile README at the top with a role, a "start here" link to your strongest project and a link to your site, and below it your chosen repositories pinned in the order from Step 2. Each pinned card shows a description.
Step 6 · Publish a one-page site that links it all
A short personal site gives you a link that reads well on a CV and lets you show projects that do not live on GitHub. It does not need to be elaborate; a hiring manager who is not an engineer should be able to understand it in one minute.
The quickest place to host it is GitHub Pages. A repository named <your-username>.github.io (in lowercase) is published as your user site at that address. In the repository's Settings, under Pages, choose to publish from a branch or with a GitHub Actions workflow. If you know a framework, use it; a single index.html with careful CSS works as well.
Put these on the page, in this order:
- Your name, the role you want, and your city or "remote".
- Your two or three strongest projects, each with one sentence on the problem, one screenshot, and links to the demo and the repository.
- A short paragraph about you: what you did before, what you are learning now.
- Your CV as a PDF, your email address, and links to GitHub and LinkedIn.
Keep the page light. Compress screenshots, avoid heavy animation libraries, and test the site on a phone over mobile data. A reviewer may open it on their phone between meetings, and a portfolio for a frontend role that loads slowly makes its own argument.
When the site is live, add its address to your GitHub profile's website field from Step 1 and to the profile README.
Check it worked
The site opens at its public address on your phone, over mobile data, in a few seconds. It names your role, shows two or three projects each with a working demo link (or a reason it has none) and a repository link, and links back to your GitHub profile, which links to it.
Step 7 · Run the final check and send it
Go through the portfolio once more, as a stranger, before you send the link to anyone. Open a private window and, for each pinned repository, confirm:
- It has a one-line description on its pinned card.
- The README opens with what it does and who it is for.
- The README has a run command in a code block, and you have run it on a fresh clone in the past week.
- The demo link works, or the README says plainly why there is none ("Command-line tool; see the run command and the example output below").
Then ask a person. Send your profile link to a developer you know, or post it in a community you belong to, and ask two questions: "Which project would you open first, and why?" and "What would stop you inviting me to interview?" If you are in a developer community such as a local meetup group or a study group, a review swap works well: you review theirs, they review yours.
Change what they push back on. Then add the GitHub and site links to your CV, and use the "start here" project as the one you describe first in interviews.
Check it worked
Your notes document has a row for each pinned repository with all four checks ticked, plus the feedback from at least one other person and what you changed because of it. Your CV links to your GitHub profile and your site.
Next steps
Write the projects section of your CV from the READMEs you just wrote, using write a tech CV that gets read. If a pinned repository has tests but no CI yet, add a workflow and badge with your first GitHub Actions workflow.
If you have fewer than four projects worth pinning, go back to pick portfolio projects that show you can do the job and plan the next one. To earn the contribution pin from Step 2, follow make your first open source contribution count as experience.
Related tutorials
- Pick portfolio projects that show you can do the jobYou will turn the skills in real job adverts into a shortlist of two or three four-week portfolio projects, each with a named user or data source, a one-line problem and the skill it proves.
- How to Create Your First GitHub Actions WorkflowYou will write a workflow file that runs on every push and every pull request, check its syntax on your own computer with actionlint, push it, and read the run on GitHub.
- How to Push to GitHub over SSH and Open a Pull RequestYou will connect a local repository to a new GitHub repository over SSH, push your work, push a branch, open a pull request from the website and from the GitHub CLI, merge it, and bring the result back to your computer.
Need this done for you?
Padding does this work for growing companies, from the first diagnosis to a system that keeps working.
Get new tutorials