Git Test

Exam Type: | MCQ Skill Test |
Questions Type: | Multiple Choice Questions |
Total Questions: | 40 |
Time Limit: | 15 Minutes |
Last Update | April, 2025 |



Text Detail
Git linkedin assessment
How can you check your current git version?
-
git --options
-
git --version
-
git --current
-
git –v
linkedin Git assessment answers
What command lets you create a connection between a local and remote repository?
-
git remote add origin
-
git remote add new
-
git remote new origin
-
git remote origin
linkedin Git skill assessment
Describe what the following git commands do to the commit history.?
git reset -- hard HEAD~5
git merge -- squash HEAD@{1}
-
Resets the HEAD to the 5th commit in the repo, then merges to the master branch
-
Resets the commit branch back before the last 5 commits, then squashes then into a single commit.
-
Delete the last 5 commit.
-
Merges the last 5 commits into a new branch
linkedin Git test
Your current project has several branches; master, beta, and push-notifications. You've just finished the notification feature in the push-notification branch, and you want to commit it to beta branch. How can you accomplish this?
-
Checkout the push-notifications branch and run git merge beta.
-
Delete the push-notifications branch and it will be committed to the master branch automatically.
-
Checkout the beta branch and run git merge push-notifications.
-
Checkout the master branch and run git merge beta -> push-notifications.
Git linkedin Quiz
Which of the following is true you when you use the following command?
git add -A
-
All new and updated files are staged
-
Files are staged in alphabetical order.
-
All new files are staged
-
Only updated files are staged
linkedin Git Quiz
Git linkedin test
Git linkedin learning
linkedin Git course
Git essential training linkedin