Before starting your job search, look at these common Java interview questions asked during real interviews and understand the answers, but instead of memorizing the answers try to complete further research and come with your own personal solution for the interview question. The more prepared you are for what you will encounter, the more successful you will be. This collection of Java interview question could be also useful for software developers who need to interview Java developer.

Git interview questions

Git interview questions is not very well defined topic and some hiring managers think that it is better to focus on candidate’s programming and critical thinking skills, assuming if Java software developer has those he can pick up Git tricks in a couple days with a help of decent Git book or tutorial. Another group thinks that if someone have never used a source code management system, that's a negative indicator for doing things the right way and most likely this software developer survived under a very remote rock for some time.

Anyway the recommendation is to spend several minutes on discussing the revision control and source code management systems.

git interview questions

Let’s take a look on Git interview question which have a high frequency of being asked in interviews and should help to identify whether software developer is capable of figuring out the concepts involved in version control systems

Open-ended Git interview questions on revision control and source code management theory:

  • What is Git?
  • Explain the difference between Git and Subversion?
  • Why is Git better than SVN? Is it really better? 
  • What are the disadvantages and advantages between centralized version control system and distributed version control system?
  • What is best Git book or tutorial for the beginner?
  • What is SHA-1?

A few practical Git interview questions, some of them require a precise answer:

  • What is the best Git GUI client for Linux, Windows or Mac OS X?
  • Do you use Git aliases? What is your favourite Git alias? 
  • What command you would use to get a copy of an existing Git repository?
  • How do you get the latest code?
  • How do you check out code?
  • How do you commit changes?
  • What's the difference between git pull and git fetch commands?
  • Have you ever merged anyones patches into your repository
  • When would you commit your changes to your local repository? 
  • Are you on Bitbucket, GitHub? If so, what are some examples of repos you follow? Can we see your code?

I wouldn't spend much time on these questions, but the answers might still give hiring manager an idea of how the software developer would work when combining his code with the rest of the team.

Related Best Git Books





No comments: