Git Interview Questions
Questions Answers Views Company eMail

Name some git commands and also explain their functions?

1

What is subgit and why is it used?

1

What is a git commit and what does the commit object contain?

1

What is git and why do we use it?

1

What are git stash and git stash drop?

1

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

1

Why git and not svn?

1

What is rebasing syntax in git?

1

What is a repository and how will you create it?

1

Distinguish between git fetch and git pull?

1

What is the purpose of branching and how many branching strategies can you apply?

1

What is a “conflict” in git and how is it resolved?

1

Explain the gitflow workflow?

1

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

1

What is subgit?

1


Post New Git Questions

Un-Answered Questions { Git }

What is the difference between GIT and SVN?

5


What is the function of ‘git reset’?

5


Name a few git commands and explain their usage.

1


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

1


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

1






What is the difference between git vs svn

1


Describe the branching strategies you have used.

1


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

1


What is a repository in GIT?

5


What is the function of ‘git stash apply’?

5


What is git Is-tree?

5


What language is used in GIT?

5


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

1


What is the function of ‘git diff ’ in git?

5


What is the purpose of branching and how many branching strategies can you apply?

1