Git Interview Questions
Questions Answers Views Company eMail

Name some git commands and also explain their functions?

1

What is subgit and why is it used?

1

What is a git commit and what does the commit object contain?

1

What is git and why do we use it?

1

What are git stash and git stash drop?

1

What commands will you use to bring a new feature to the main branch?

1

Why git and not svn?

1

What is rebasing syntax in git?

1

What is a repository and how will you create it?

1

Distinguish between git fetch and git pull?

1

What is the purpose of branching and how many branching strategies can you apply?

1

What is a “conflict” in git and how is it resolved?

1

Explain the gitflow workflow?

1

How will you know in git if a branch has already been merged into master?

1

What is subgit?

1


Post New Git Questions

Un-Answered Questions { Git }

What is a repository in GIT?

5


How do you configure a git repository to run code sanity checking tools right before making commits, and preventing them if the test fails?

1


What is the function of git clone?

5


What is git bisect and what is its purpose?

1


Why git and not svn?

1






What is git bisect? How can you use it to determine the source of a (regression) bug?

1


Name a few git commands and explain their usage.

1


What is the syntax for “Rebasing” in Git?

5


What are git repository hosting services you used?

1


Why GIT better than Subversion?

5


What is the difference between git vs svn

1


In git how do you revert a commit that has already been pushed and made public?

1


What is the difference between rebasing and merge in git?

1


What is the command you can use to write a commit message?

5


What is a git commit and what does the commit object contain?

1