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 a repository and how will you create it?

1


How to revert previous commit in git?

1


Explain the difference between rebase and merge?

1


What work is restored when the deleted branch is recovered?

1


What does commit object contain?

5






What is the difference between git and github?

1


Explain git stash, pop?

1


Explain the difference between reverting and resetting.

1


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

1


What is git reflog?

1


What is the common branching pattern in GIT?

5


How to rebase master in git?

1


What is the syntax for “Rebasing” in Git?

5


What are git repository hosting services you used?

1


What does ‘hooks’ comprise of in git?

1