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 }

Name some git commands and also explain their functions?

1


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

1


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

5


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

1


What is the syntax for “Rebasing” in Git?

5


What is git and why do we use it?

1


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

1


What is the difference between git pull and git fetch?

1


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

5


What is the difference between git and github?

1


What is the function of ‘git reset’?

5


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

1


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

5


Explain what is commit message?

5


What are the different ways you can refer to a commit?

1