Q 01/05

The name Git, chosen by its creator as a joke at his own expense, is British slang for what?

A) A petty thief

B) An unpleasant person

C) A penniless aristocrat

D) A heavy drinker

Answer · why

B) An unpleasant person

An unpleasant person is the slang sense. The project's read-me adds that the name was a pronounceable three-letter combination that no common Unix com...

Q 02/05

Which technology giant paid $7.5 billion in 2018 for GitHub, the code-hosting site built around Git?

A) Microsoft

B) Google

C) Amazon

D) Salesforce

Answer · why

A) Microsoft

Microsoft was already a heavy user of the site, hosting open-source projects such as Visual Studio Code and PowerShell there, before it decided to buy...

Q 03/05

Which programmer wrote Git in 2005 and joked that he names all his projects after himself?

A) Richard Stallman

B) Guido van Rossum

C) Linus Torvalds

D) Dennis Ritchie

Answer · why

C) Linus Torvalds

Linus Torvalds announced Git within days of starting work on it, and by the following day it was being used to store its own source code.

Q 04/05

Which Git command sends local commits to a remote, and is refused if that remote holds newer work?

A) git commit

B) git publish

C) git upload

D) git push

Answer · why

D) git push

git push can be forced through with the --force option, but that can make the remote repository lose commits, so the manual says to use it with care.

Q 05/05

Which Git command copies an existing repository, full history included, into a new directory?

A) git clone

B) git checkout

C) git download

D) git import

Answer · why

A) git clone

git clone brings down every version of every file by default, which is why almost any copy can be used to rebuild a server whose disk has been corrupt...

Want the full quiz?

Play the full Git quiz — scored, streaked, and passable to a friend.

Play it on BrainPickle