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 }

How to create tag?

1


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

5


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

1


How can you create a repository in Git?

5


What is a repository in GIT?

5






What are git repository hosting services you used?

1


How to rebase master in git?

1


What is GIT version control?

5


What is GIT stash drop?

5


What is rebasing syntax in git?

1


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

1


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

1


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

1


What is a commit message?

1


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

1