Three steps to being confident with GitHub, open to every profession in government. Advent of Code is the "do it" part: a fun, low-stakes way to practise.
DSIT AoC 2026 is DSIT's own run of Advent of Code 2026: the same puzzles as everyone else, plus a DSIT leaderboard, a Slack channel and this guide to doing it all on GitHub.
Advent of Code, the short version
An advent calendar of small programming puzzles, one a day from 1 December, made by Eric Wastl since 2015. It's free, you can use any language, and you don't need a computer science background. Each puzzle has two parts, and the second builds on the first.
Since 2025 there have been 12 puzzles, so it ends mid-December, and the global leaderboard has gone. Only private ones remain, like ours. About Advent of Code
DSIT's version, and a bit of history
DSIT colleagues have had their own Advent of Code Slack and private leaderboard since at least December 2024. This year the DSIT Advent of Code Challenge runs 1 to 20 December. You get the daily puzzles, the #all-dsit-aoc Slack channel to swap approaches without spoilers, and a private DSIT leaderboard with an edible prize for the winner.
Daily puzzle links go up in Slack and in the directorate's Teams channel. Everyone's welcome, from first-timers to seasoned coders.
Why we're doing it
Purpose
Build coding and problem-solving confidence across DSIT, in a fun, low-pressure way.
Aims
Make coding feel approachable for anyone, and make GitHub feel as ordinary as SharePoint.
Goals
More people coding in the open, and more people able to review and approve each other's work.
Objectives
By the end of December, everyone taking part has their own public repository, commits on the days they play, gets green ticks from the automatic checks, and has reviewed at least one pull request.
How it joins up with the GitHub Repos Asset Catalogue
The GitHub Repos Asset Catalogue started as an inventory of the code our directorate already keeps on GitHub, so it can be found, reused and looked after rather than built again. It has since grown into a catalogue of UK public sector code.
Both come from the same idea: use GitHub and make new source code open. The catalogue shows what already exists. AoC builds the skills to work with it: finding a repo, reading code, raising an issue and reviewing a pull request. Everyone who gets comfortable here is one more possible reviewer or contributor for the code it lists.
AI tools: what's possible, and why AoC is AI-free
What AI coding assistants can do
Tools like GitHub Copilot can explain a piece of code, suggest the next few lines, write tests, review a pull request and turn a plain-English description into a first draft. This year's One Big Thing, AI in Action, is about putting tools like these to work in our jobs.
Why we leave them out of Advent of Code
Advent of Code's maker asks people not to use AI to solve the puzzles, and DSIT's welcome post asks the same. The puzzles are written for people to enjoy, and the learning is in the thinking. So:
Solve each puzzle yourself. If you have Copilot, turn off its suggestions in your AoC repository while you solve, from the Copilot menu in the status bar.
Once you've solved a day, asking AI to explain a different approach or tidy your tests is a good way to learn how these tools work, without spoiling anything.
Never paste the puzzle text or your input into an AI tool. They aren't yours to share.
GitHub for Dummies (crossed out)non-Nerds
Click by click, no commands, about 30 minutes, once. If you can use SharePoint, you can do this. You'll need a browser, your phone for a sign-in code, and a cup of tea.
1
Make your GitHub account
github.com/signup → email → password → username → the code GitHub emails you. Then turn on two-factor sign-in under Settings.
10 min
2
Get your copy of the starter kit
On the guide's page press Use this template → Create a new repository. Name it advent-of-code-2026, leave it Public, press Create.
2 min
3
Open it in your browser
Green Code button → Codespaces → Create codespace on main. Like Office on the web: nothing to install.
3 min
4
Do the puzzle
Open today's puzzle at adventofcode.com. Your input goes in the inputs folder and is never shared.
Your pace
5
Save your work, the git way
Source Control icon → type a note like Day 1 part 1 → Commit (save a version) → Sync Changes (send it to GitHub).
1 min
6
Look for the green tick
On github.com open the Actions tab. Green tick: all good. Red cross: click it, or ask in #all-dsit-aoc.
30 sec
7
Switch off, then say hello
Codespaces (bottom left) → Stop. Then post your repo link in #all-dsit-aoc.
Teams need more people who can review and approve. You don't have to be a developer: most reviews ask whether it's clear, does what it says, and has nothing in it that shouldn't be public.
Review in five clicks
Open the pull request and read its description
Files changed: like Track Changes, side by side
Hover over a line, press +, add a comment
Use a suggestion for small fixes, accepted with one click
Review changes → Approve, Comment or Request changes
Once you've done a few days, turn what you've learnt into a recognised certificate. It's free for public servants until 31 December 2026.
GitHub certifications through Get Tech Certified
Get Tech Certified 2026 is run by the Government Digital Service. It offers free learning and certification pathways to people across the UK public sector, including civil servants, local government and the NHS, from 1 October to 31 December 2026. You don't need a tech role. Register with your work email address.
Its software engineering list includes Microsoft's GitHub certifications:
GH-900 GitHub FoundationsStart here Repos, commits, branches, pull requests: everything you'll have practised in December.
GH-300 GitHub CopilotAI in Action Using an AI coding assistant well, outside the puzzles.
GH-200 GitHub ActionsAutomation The automatic checks behind your green tick.
Each course sets its own registration, voucher and exam deadlines, so check them early. Don't leave it until the last week of December.
One Big Thing 2026: AI in Action
This year's One Big Thingruns from October 2026 to February 2027 and is about putting AI to work. In most departments that means a team workshop, so check your intranet for your department's plan.
For anyone who codes, an AI coding assistant is AI in action. Keep it out of the puzzles, use it on your own work afterwards, and GH-300 proves you can use it well.
Secure by default
The template teaches safe habits from day 1: no secrets in code, inputs kept out of git, automatic dependency updates and pinned actions. That's the same thinking the new Government Cyber Profession is building across government.
Want to go further? GH-500 covers GitHub's security features, and Get Tech Certified has a whole cyber security section.
For every profession
GitHub isn't just for developers. It's a place to keep work, see its history, propose changes and get them reviewed. Here's what it can do for your profession.
Digital and data
Make it your everyday tool, and become one of the reviewers and approvers your teams need.
Cyber and security
Review changes for anything that shouldn't be public, and switch on secret scanning and dependency alerts.
Analysis
Reproducible analysis: code, a written method and tests together, so anyone can rerun your numbers.
Policy
Draft guidance in the open, keep every version, and take comments through issues instead of an inbox.
Project delivery
Issues and project boards make the plan visible: who's doing what, what's blocked and what's done.
Finance
Version-controlled models and scripts give you a clear record of who changed what, when and why.
Advent of Code asks people not to share them. The template keeps inputs/ out of git for you.
No secrets in code
That means your session cookie, tokens and passwords. If one slips through, revoke it first, then remove it.
Solve it yourself
Advent of Code asks you not to use AI to solve the puzzles. Check our leaderboard's expectations in #all-dsit-aoc.
Questions
I've never programmed. Can I take part?
Yes. The first days are usually gentle. Try them and ask in #all-dsit-aoc when you're stuck. Learning something is the goal, not finishing every day.
Does it cost anything?
No. A personal GitHub account, public repositories, the automatic checks on public repos and the monthly Codespaces allowance are all free. Stop your codespace when you finish.
Do I have to use Python?
No. Use any language. Keep the inputs/ and solutions/dayNN/ folders and change the test command.
Can I use my work laptop?
Codespaces only needs a browser that can reach github.com. Installing tools locally depends on your department's IT policy.