Git Interview Questions

Git Exam Questions and answers

Which of the following should be done after installing Git on a system for the first time? (Choose all that apply)

– git config –global “”
– git config –global
Which Git command is used to stage changes for a commit?
– git add is used to stage changes for a commit.
What command is used to get changes into a remote repo?
– git push

What does the git checkout feature1 command do?
– It checks out a branch called feature1.

Git is an example of what type of tool?
– Source Control Management (SCM)
What is one way to configure a Git installation to authenticate with a remote repository like
– Upload a public ssh key to your account.

Which command is used to obtain a local copy of a Git repository?
– git clone

Published by Aryan Nava

Founder of "BlockchainMind", CTO for two Blockchain startup during 2018, Cloud/DevOps Consultant and Blockchain Trainer

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: