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 function of ‘git config’?

5


What is the function of ‘git rm’?

5


What is the difference between rebasing and merge in git?

1


What is the use of ‘git log’?

5


What is a ‘conflict’ in git?

5


Name a few Git repository hosting services

5


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

1


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

5


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

1


Explain the difference between reverting and resetting.

1


How is git instaweb used?

1


What is subgit and why is it used?

1


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

5


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

5


What is the syntax for “Rebasing” in Git?

5