← GitChallenge.com

Coding · Facts & stats

Git facts & stats

7 fact-checked facts about Git and version control, each with the reason behind it. 5 more are in today's round and join this page after it closes.

Play today's round

The basics

What is Git?

AnswerA version control system

Git tracks changes to files over time.

Which command creates a new Git repository?

Answergit init

git init sets up a new repository in the current folder.

Going deeper

Who created Git?

AnswerLinus Torvalds

Torvalds wrote Git to manage Linux kernel development.

By default, what does git pull do?

AnswerFetches changes and merges them

git pull runs git fetch followed by a merge.

Which command stages files for the next commit?

Answergit add

git add moves changes into the staging area.

Expert level

Which command applies a single commit from another branch onto your current branch?

Answergit cherry-pick

cherry-pick copies the changes of one chosen commit.

Which command uses binary search to find the commit that introduced a bug?

Answergit bisect

git bisect halves the range of commits until it finds the culprit.

Know these cold?Today's round is five questions like these, 20 seconds each. Your streak and level follow you to every arena.Play today's round