Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Git Interview Questions and Answer Part – 6

interview-questions-on-git-github-gitlab

interview-questions-on-git-github-gitlab

  • What is GIT?
  • What is a repository in GIT?
  • What is the command you can use to write a commit message?
  • What is the difference between GIT and SVN and other CM systems?
    • Answers –
      • Cheap Local Branching
      • Everything is Local
      • Git is Fast
      • Git is Small
      • The Staging Area
      • Distributed
      • Any Workflow
      • Easy to Learn
      • Git is the new standard
  • What are the advantages of using GIT?
  • What language is used in GIT?
  • What is the function of ‘GIT PUSH’ in GIT?
  • Why GIT better than Subversion?
  • What is “Staging Area” or “Index” in GIT?
  • What is GIT stash?
  • What is GIT stash drop?
  • How will you know in GIT if a branch has been already merged into master?
  • What is the function of git clone?
  • What is the function of ‘git config’?
  • What does commit object contain?
  • How can you create a repository in Git?
  • What is ‘head’ in git and how many heads can be created in a repository?
  • What is the purpose of branching in GIT?
  • What is the common branching pattern in GIT?
  • How can you bring a new feature in the main branch?
  • What is a ‘conflict’ in git?
  • How can conflict in git resolved?
  • To delete a branch what is the command that is used?
  • What is another option for merging in git?
  • What is the syntax for “Rebasing” in Git?
  • What is the difference between ‘git remote’ and ‘git clone’?
  • What is GIT version control?
  • Mention some of the best graphical GIT client for LINUX?
  • What is Subgit? Why to use Subgit?
  • What is the function of ‘git diff ’ in git?
  • What is ‘git status’ is used for?
  • What is the difference between the ‘git diff ’and ‘git status’?
  • What is the function of ‘git checkout’ in git?
  • What is the function of ‘git rm’?
  • What is the function of ‘git stash apply’?
  • What is the use of ‘git log’?
  • What is ‘git add’ is used for?
  • What is the function of ‘git reset’?
  • What is git Is-tree?
  • How git instaweb is used?
  • What does ‘hooks’ consist of in git?
  • Explain what is commit message?
  • How can you fix a broken commit?
  • What is ‘bare repository’ in GIT?
  • How do you start Git and what is the process called?
  • How do you put your local repository (repo) on the GitHub server?
  • How to delete the working branch?
  • What as the strength and weaknesses of the software?
  • But I am quite happy with Subversion (SVN). What is all this fuss about? Is there a substantial trend for distributed versioning control systems (DVCS)?
  • Isn’t DVCS something for small teams and startups? I am working in a very big company. We value established things way more than the cutting edge stuff, that may not be here to stay.
  • Okay. Let’s say we go with DVCS. Why should I take git and not mercurial?
  • I like, that git allows our developers to host the complete repository on his local machine. That makes software development faster. So why do
  • you I need Stash on top?
  • How do you use this rights management with Stash? How does it work? Will developers only get have a repository? Is that still functional then?
  • What is a pull request? What is this for? Aren’t we sharing all code with all developers and let everyone do what he wants? Is that only for
  • hierachical software development methods?
  • How would you summarize the advantages of Stash in short?
  • What is the one reason, that your customers give Atlassian today on why they purchase Stash?
  • Can you offer us a small sneak peak into your upcoming next releases? Is there anything, that you can share first hand with us?
  • What is your general roadmap for stash? Where do you want to position it near and long term?
  • Do you ultimately plan to support Mercurial? When is a good time to buy Stash, if I run with hg at the moment?
  • Why should I go for Stash in favor of GitHub Enterprise or RhodeCode?
  • Why is Stash a separated product and not part of Bitbucket. I could imagine seeing Bitbucket Enterprise resembling GitHub Enterprise.
  • Is Atlassian using Stash internally in software development? If not, why not?
  • Wouldn’t it be interesting to combine Fisheye, Crucible and Stash in one product?
  • What is the difference between GIT and SVN?
  • What are the advantages of using GIT over other tools?
  • What is GIT stash?
  • What does commit object contain?
  • How can conflict in git resolved?
  • What is the difference between ‘git remote’ and ‘git clone’?
  • Mention some of the best graphical GIT client for LINUX?
  • What does ‘hooks’ consist of in git?
  • What is ‘bare repository’ in GIT?
  • Add a line to the some.txt file and then throw out all changes since the last commit.
  • Why GIT better than Subversion?
  • How to troubleshoot Git?
  • How to troubleshoot GitLab?
  • How to troubleshoot Github?
  • How to take Gitlab backup
  • What is Git Objects? explain about Tree, blob, commit, tag, branch objects?
  • How git Object storage works?
  • What is SHA1?
  • Introduction to the GitHub platform
  • github Distributed version control synchronization
  • github Project management and repository integration
  • github Multiple remotes and Fork maintenance
  • github Remote repository interaction and dependencies
Rajesh Kumar
Follow me
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x