GIT
GIT stands for Global Information Tracker. It is an open-source tool developed by Linus Torvalds in 2005 and widely used for source code management. It is scalable, supports collaboration & non-linear development, and tracks history.
As it is a fundamental skill set expected in DevOps journey, let’s take this assessment to check where do you stand in this journey. You can also earn Rewards. Click Rewards tab for eligibility requirements.
Read FAQs tab carefully for Instructions before beginning the assessment.
NYXPoints are used to generate the Leaderboard (coming soon). They are awarded for achieving a certain score.
- 100 nyxpoints for a passing score of 80% or more
- 150 nyxpoints for a perfect score of 100%
- Didn’t pass? You still get 30 nyxpoints for attempting the assessment
Badges are assigned on successful completion of one or more assessments.
- Passing this assessment is the one of the requirements for achieving the
Tech Essentials Beginner badge - Complete these additional assessments to achieve the badge
IMPORTANT instructions for taking the Assessment
- The timer starts when you click Start Assessment
- DO NOT refresh/reload the page or use the back button to navigate away from the page.
- Navigating away from the assessment page DOES NOT stop/pause the timer and the will restart the assessment when you come back to it. The answers are NOT saved.
General
- There are NO pre-requisites to take this assessment. Take this assessment even if you are completely new to Linux.
- The assessment is completely FREE.
- Preferably take it in a closed book mode.
- DO NOT copy/paste, share or upload questions elsewhere.
Eligible Rewards
Badge*
* All requirements are must
150 NyxCoins*
* NyxCoins vary on score
Assessment Summary
0 of 30 Questions completed
Questions:
Information
You have already completed the assessment before. Hence you can not start it again.
Assessment is loading…
You must sign in or sign up to start the assessment.
You must first complete the following:
Results
Results
0 of 30 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 30
1. Question
Which command is used to create a new branch?
CorrectIncorrect -
Question 2 of 30
2. Question
Which git command is used to commit the staged changes for the Git repository?
CorrectIncorrect -
Question 3 of 30
3. Question
Which git command displays the patch representing each commit?
CorrectIncorrect -
Question 4 of 30
4. Question
The “git show” command displays the history of current branch.
CorrectIncorrect -
Question 5 of 30
5. Question
What is the extension of the file, which contains the public key used for passwordless Git authentication?
CorrectIncorrect -
Question 6 of 30
6. Question
Which command is used to undo local changes to the state of a Git repository?
CorrectIncorrect -
Question 7 of 30
7. Question
Which of these terms best describes Git?
CorrectIncorrect -
Question 8 of 30
8. Question
README.md file is a file used to communicate important information about your project on why your project is useful, what you can do with your project and how can you use it.
CorrectIncorrect -
Question 9 of 30
9. Question
What all files will be ignored by the below shown .gitignore file?
#.python
pycache/
*.txt
*.metadata
CorrectIncorrect -
Question 10 of 30
10. Question
What will be the output of “git remote -v” command?
CorrectIncorrect -
Question 11 of 30
11. Question
Which of the following is not a term in git?
CorrectIncorrect -
Question 12 of 30
12. Question
The “git status” command displays the information regarding the committed project history.
CorrectIncorrect -
Question 13 of 30
13. Question
Which command is used to check the git version?
CorrectIncorrect -
Question 14 of 30
14. Question
Which git command is used to stage all changes?
CorrectIncorrect -
Question 15 of 30
15. Question
The ‘git clean’ command is used to remove untracked files from working tree.
CorrectIncorrect -
Question 16 of 30
16. Question
Which command is used to list all local and remote branches in the current repository?
CorrectIncorrect -
Question 17 of 30
17. Question
Which command is used to change the committer name for the current repository?
CorrectIncorrect -
Question 18 of 30
18. Question
Which command is used to check the difference between commits, working tree, etc?
CorrectIncorrect -
Question 19 of 30
19. Question
Name the command which takes you to the independent lines of development created by branch and integrate them into a single branch.
CorrectIncorrect -
Question 20 of 30
20. Question
The “git clone” command makes a local copy of the remote repository.
CorrectIncorrect -
Question 21 of 30
21. Question
Imagine that you have a local repo, but other team members have pushed their changes to remote repo. Which git command will you use to sync the remote changes to local before pushing your change?
CorrectIncorrect -
Question 22 of 30
22. Question
To start working on a new application feature with a major functional impact, which below option will not impact the current functionality?
CorrectIncorrect -
Question 23 of 30
23. Question
Which command would you use to delete a branch from a local repository?
CorrectIncorrect -
Question 24 of 30
24. Question
The “git checkout” command is used to switch between the branches.
CorrectIncorrect -
Question 25 of 30
25. Question
To download all objects, files, and references from a remote repository to your local repository, which git command will you use?
CorrectIncorrect -
Question 26 of 30
26. Question
Which git command creates an empty repository in the specified directory?
CorrectIncorrect -
Question 27 of 30
27. Question
Which git command is used to modify the most recent commit?
CorrectIncorrect -
Question 28 of 30
28. Question
Git is written in which language?
CorrectIncorrect -
Question 29 of 30
29. Question
Which git command used to update the local version of a repository from remote repository?
CorrectIncorrect -
Question 30 of 30
30. Question
Git Pull is a combination of:
CorrectIncorrect