Create assessment
All templates
Video interviews

Git and Version Control

Assesses practical Git use in a team: merge and rebase, conflicts, safely undoing changes, pull requests, commits and hotfixes. Suited for anyone who develops software in a team.

Sample questions

Taken from the template itself. Questions with a recorded answer key are left out, so reading this page cannot help anyone pass the test.

As the candidate sees it

Git and Version Control

8 questions20 min
  1. 1.Short text

    Which command helps recover commits lost after a local git reset --hard?

    You ran git reset --hard HEAD~3 on your local branch by mistake and lost three commits that were never pushed. Answer with the command and, in one sentence, how you would finish the recovery.

  2. 2.Long text

    How would you ship this urgent fix to production without releasing work still in progress?

    Production runs version v2.4.0, built from main. The develop branch already has two unfinished features that cannot go to production. A critical bug makes checkout charge shipping twice. Describe the branch flow and main commands, from the fix to the deploy, and how to make sure the fix also reaches develop. Comment on how the flow would change if the team used trunk-based development with feature flags.

  • Shown once you copy the template
  • Shown once you copy the template
  • Shown once you copy the template

6 more questions in the full template.

A man with earphones at a laptop, taking notes during a recorded interview.

How this template was made, and what you can check

  • Are these the real questions?

    Yes. The questions on this page are the questions a candidate gets. They are not samples written for the site: they come from the template itself, word for word.

  • Why are some questions missing from this page?

    Any question with a recorded answer key is left out, so that reading this page cannot help anyone pass. The count of what is missing is shown; the questions themselves appear once you copy the template.

  • Which language does the candidate see?

    Every template exists in English and Portuguese. The candidate answers in theirs and you read in yours.

  • Will this template work on my plan?

    Question types are checked against your plan by the database itself, so a template never promises a type your plan cannot run. Building assessments and collecting answers is free; automatic scoring starts on the Starter plan.

  • Can I change the questions?

    Once you copy it, the template is yours: change the wording, drop a question, add your own. None of this is fixed.

  • How fast can I send it?

    Create a free account, copy the template and share the link. The candidate opens it in the browser, with nothing to install.

Use this template on your next opening

Copy the template, change what you want, send a link. Assessly marks each answer, scores it and explains the score.

What comes back to you

Short text

Which command helps recover commits lost after a local git reset --hard?

Answer

78

Score

Why this score

The question is real. The answer and the score are drawn as an example of what a review looks like.