Git Online Test

TestDome skill assessments are used by more than 8,000 companies and 880,000 test takers.

For Jobseekers

Practice your skills and earn a certificate of achievement when you score in the top 25%.

Take a Practice Test

For Companies

Test candidates with real-world problems and interview the best ones.

Sign Up to Offer this Test

About the test

The Git online test evaluates a candidate’s ability to work with the source control tool Git, including the knowledge of how to commit changes, merge branches, checkout commits, and other source control mechanisms.

It’s an ideal test for pre-employment screening of candidates applying for any developer role. A good candidate for any job requiring the use of source control will be able to display competency with using Git, the most popular version control tool. This Git test can be used to screen large groups of candidates to select only those with the required Git knowledge to bring in for an interview.

Sample public questions

Easy
3 min
mca
Public
Git
Command Line Arguments

A developer is experimenting with code on a local copy of a branch. After a while, it is decided that this experiment does not work. So the developer decides to switch back to the master branch. However, the developer's local working copy is different from the HEAD.

Which of these options would allow the developer to successfully check out the master branch?

Easy
3 min
fill
Public
Git
Command Line Arguments

Write down a sequence of GIT commands (with no additional arguments) to download a repository, update a file, and save the changes back to the original repository. Assume that other developers didn't modify the file.

  1. Download the master repository to a local directory or repository:
    git _____ https://joe@testdome.com/testdome.git
     
  2. Fix a bug in file test.cpp
     
  3. Mark that file test.cpp has been changed:
    git _____ test.cpp
     
  4. Save the changes to the local repository:
    git _____ -m 'Bug with testing is fixed'
     
  5. Send the changes to the original repository:
    git _____ origin master

For jobseekers: get certified

Earn a free certificate by achieving top 25% on the Git test with public questions.

Take a Certification Test

Sample silver certificate

Sunshine Caprio

Java and SQL
TestDome
Certificate
TestDome logo icon

For companies: premium questions

Buy TestDome to access premium questions that can't be practiced.
Get money back if you find any premium question answered online.

Sign Up to Offer this Test

3 more premium Git questions

Feature Branch, Merging Branches, Ignore Files and Directories.

Skills and topics tested

  • Git
  • Command Line Arguments
  • Continuous Integration
  • Git Ignore

For job roles

  • Back-End Developer
  • DevOps Engineer
  • Full-Stack Developer
  • Mobile Developer
  • Software Developer
  • Web Developer
  • Web Front-End Developer

Sample candidate report

What others say

Decorative quote

Simple, straight-forward technical testing

TestDome is simple, provides a reasonable (though not extensive) battery of tests to choose from, and doesn't take the candidate an inordinate amount of time. It also simulates working pressure with the time limits.

Jan Opperman, Grindrod Bank

Product reviews

G2 - Crowd Badge
G2 - High Performer (2022)
Capterra - 4.5 Stars
Capterra - Shortlist (2022)

Used by

Solve all your skill testing needs

150+ Pre-made tests

From web development and database administration to project management and customer support. See all pre-made tests.

90+ skills

From JavaScript and SQL to English and customer support. See all questions to filter by skill.

Multi-skills Test

Mix questions for different skills or even custom questions in one test. See an example.

How TestDome works

1

Choose a pre-made test
or create a custom test

2

Invite candidates via
email, URL, or your ATS

3

Candidates take
a test remotely

4

Sort candidates and
get individual reports

Want to know more?

Related Git Tests: