Git Interview Questions
Questions Answers Views Company eMail

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

1

How to remove a file from git without removing it from your file system?

1

What is git bisect?

1

Describe the branching strategies you have used.

1

What does ‘hooks’ comprise of in git?

1

Explain the difference between reverting and resetting.

1

What work is restored when the deleted branch is recovered?

1

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

1

What is git fork? What is the difference between fork, branch, and clone?

1

What are the benefits of using version control system?

1

What is a distributed vcs?

1

Mention the various git repository hosting functions.

1

Name a few git commands?

1

What is the difference between git and github?

1

What is the difference between fork, branch, and clone?

1


Post New Git Questions

Un-Answered Questions { Git }

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

1


Why git and not svn?

1


What is ‘bare repository’ in GIT?

5


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

5


What is git bisect and what is its purpose?

1






What is the purpose of branching in GIT?

5


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

5


Explain the uses of git commands?

1


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

1


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

5


How to remove a file from git without removing it from your file system?

1


How is git instaweb used?

1


What is the syntax for “Rebasing” in Git?

5


What is the difference between fork, branch, and clone?

1


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

1