Git Online Test
For Jobseekers
Practice your skills and earn a certificate of achievement when you score in the top 25%.
Take a Practice TestFor Companies
Test candidates with real-world problems and interview the best ones.
Sign Up to Offer this TestAbout the test
The Git online test assesses the ability to work with source control mechanisms using the source control tool Git.
The assessment includes work-sample tasks such as:
- Switching between and merging feature and master branches.
- Executing various operations on a branch.
- Excluding files from source control using Git Ignore.
A good software engineer or developer should know how to use Git to commit changes, merge branches, checkout commits, and use other source control mechanisms.
Sample public questions
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?
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.
- Download the master repository to a local directory or repository:
git _____ https://joe@testdome.com/testdome.git
- Fix a bug in file test.cpp
- Mark that file test.cpp has been changed:
git _____ test.cpp
- Save the changes to the local repository:
git _____ -m 'Bug with testing is fixed'
- 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 TestSample silver certificate
Sunshine Caprio
Java and SQL TestDomeCertificate
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.
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
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
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
Choose a pre-made test
or create a custom test
Invite candidates via
email, URL, or your ATS
Candidates take
a test remotely
Sort candidates and
get individual reports