Git Interview Questions
Questions Answers Views Company eMail

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

1

What is a commit message?

1

Explain the advantages of forking workflow?

1

What is git cherry-pick?

1

Tell me the difference between head, working tree and index, in git.

1

Name a few git commands and explain their usage.

1

What is the difference between git pull and git fetch?

1

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

Can you explain the gitflow workflow?

1

How to resolve a conflict in git?

1

How is git instaweb used?

1

What is git reflog?

1

Why is it desirable to create an additional commit rather than amending an existing commit?

1

In git, how would you return a commit that has just been pushed and made open?

1

What is the difference between rebasing and merge in git?

1


Post New Git Questions

Un-Answered Questions { Git }

Mention the various git repository hosting functions.

1


What is the difference between the ‘git diff ’and ‘git status’?

5


What is the difference between git vs svn

1


What is ‘git add’ is used for?

5


Why GIT better than Subversion?

5


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

1


What does ‘hooks’ consist of in git?

5


Why git and not svn?

1


How to squash or fixup commits?

1


What is git fork?

1


In git, how would you return a commit that has just been pushed and made open?

1


Explain git stash, pop?

1


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

5


What is GIT version control?

5


What does commit object contain?

5