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 }

What is the difference between ‘git remote’ and ‘git clone’?

5


How do you find a list of files that have changed in a particular commit?

1


How can you fix a broken commit?

5


What is a ‘conflict’ 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 difference between git vs svn

1


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

5


What is the common branching pattern in GIT?

5


What is the difference between GIT and SVN?

5


Mention the various git repository hosting functions.

1


What is the syntax for “Rebasing” in Git?

5


How git instaweb is used?

5


What is ‘head’ in git and how many heads can be created in a repository?

5


What are the advantages of using GIT?

5


Describe the branching strategies you have used.

1