DSIT AoC 2026
Advent of Code 2026 is on

Code in the open this December

A friendly, step-by-step start with GitHub for everyone in #all-dsit-aoc. No experience needed, nothing to install, and nothing to pay.

New to this? What DSIT AoC 2026 is, and why it's AI-free

Puzzles unlock daily from 1 December, at 5am UK time.

GitHub for Dummies (crossed out) non-Nerds The click-by-click guide. No commands, no jargon. Start here →
Your commit history, drawn as a festive garland A line of seven coloured baubles, one for each commit you push, with a branch splitting off and joining back, like a pull request. day01pull requestmain
Each bauble is one commit. The lower loop is a branch merged back through a pull request.

The campaign

Learn it. Do it. Prove it.

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.

  1. 1. Learn itThe click-by-click guide for non-nerds, and the skills you already have.
  2. 2. Do itAdvent of Code in the open: your own repo, a commit a day, a green tick, a review.
  3. 3. Prove itA free GitHub certification through Get Tech Certified, until 31 December.
  • One Big Thing 2026: AI in Action
  • Secure by default
  • Every profession welcome

New here? What DSIT AoC 2026 is

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.

    1 min

The full click-by-click guide, with every button named

You already have the skills

Coding and GitHub are mostly things you already do, with new names.

Eight short steps

Take them in order. Tick each one off as you go: your progress stays in this browser.

0 of 8 steps done
  1. Step 1

    Set up GitHub

    Make an account, turn on two-factor sign-in and keep your email address private.

  2. Step 2

    Create your repository

    Press Use this template, make it public, then run one command to make it yours.

  3. Step 3

    Choose where to code

    Codespaces in your browser, nothing to install. Or your own machine if you're allowed.

  4. Step 4

    Your daily routine

    Make the day's folder, test with the example, then commit and push. Watch for the green tick.

  5. Step 5

    What not to commit

    Puzzle inputs, puzzle text and secrets stay out. The template already ignores them.

  6. Step 6

    Share and get help

    Post in #all-dsit-aoc, avoid spoilers, and tag your repo dsit-aoc-2026.

  7. Step 7

    Going further

    Branches, pull requests and code review, the habits you'll use on real government repos.

  8. Step 8

    Review, approve and collaborate

    Become a reviewer: comment, suggest, approve. Then use GitHub for guidance, glossaries and team planning too.

GitHub, explained with OneDrive and SharePoint

If you use OneDrive and SharePoint at work, you already know most of the ideas. GitHub is the same idea of shared, versioned files, built for code.

GitHub terms and their nearest OneDrive or SharePoint equivalent
In GitHubIs a bit like, in OneDrive and SharePoint
RepositoryA SharePoint site and its document library
READMEThe site's home page
CommitSaving a version, seen in Version history (but only when you choose)
PushOneDrive syncing your changes up to the cloud
CloneSyncing a library to your own computer
BranchA copy of a document to try changes safely
Pull requestSending a document for review and approval
IssuesA Planner board of tasks
GitHub ActionsA Power Automate flow that runs on each change
CodespacesOpening a file in the browser version of Office instead of the desktop app
Public repositoryA sharing link set to “Anyone”
.gitignoreFiles you keep on your machine and never upload

Saving is deliberate

OneDrive saves as you type. Git records a version only when you commit, with a note saying what changed. You get a clean history of meaningful steps.

Public means the whole internet

A public repo is like an “Anyone” link that never expires, and its history keeps everything. Check what you're committing before you push.

Read the full comparison, with the differences that matter

Review, approve and collaborate

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

  1. Open the pull request and read its description
  2. Files changed: like Track Changes, side by side
  3. Hover over a line, press +, add a comment
  4. Use a suggestion for small fixes, accepted with one click
  5. Review changes → Approve, Comment or Request changes

It's like clearance

Pull request
A draft sent for clearance
Approve
Signing it off
Request changes
Sending it back with comments
Branch protection
Nothing goes out without clearance
CODEOWNERS
The named approver for each area

Not just for code

  • Guidance and standards, reviewed and published
  • Glossaries, data dictionaries and code lists
  • Meeting notes and decision logs
  • Requests through issue forms instead of an inbox
  • Team planning on a Project board

Step 8: every feature, what it's like at work, and how to review click by click

Prove it: get certified

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 Foundations Start here Repos, commits, branches, pull requests: everything you'll have practised in December.
  • GH-300 GitHub Copilot AI in Action Using an AI coding assistant well, outside the puzzles.
  • GH-200 GitHub Actions Automation The automatic checks behind your green tick.
  • GH-500 GitHub Advanced Security Cyber Secret scanning, dependency alerts and code scanning.

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 Thing runs 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.

Don't see yours? Every profession is welcome. Ask in #all-dsit-aoc and we'll work out what fits.

Your daily routine, in a minute

Each day: make the folder, paste your input, test against the puzzle's example, then commit and push. GitHub runs your tests and shows a green tick.

The daily routine, step by step

Three rules that matter

Never commit your input or the puzzle text

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.

All questions and answers · Ask for help with the guide