{"id":6917,"date":"2019-10-07T10:47:18","date_gmt":"2019-10-07T10:47:18","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=6917"},"modified":"2021-11-16T06:48:36","modified_gmt":"2021-11-16T06:48:36","slug":"git-interview-questions-and-answer-part-5","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/git-interview-questions-and-answer-part-5\/","title":{"rendered":"Git Interview Questions and Answer Part &#8211; 5"},"content":{"rendered":"\n<ol class=\"wp-block-list\"><li>What is the function of \u2018git rm\u2019?<\/li><li>What is the function of \u2018git checkout\u2019 in git?<\/li><li>What is the use of \u2018git log\u2019?<\/li><li>Explain what is commit message?<\/li><li>How to setup github ssh authentication?<\/li><li>What is git webhooks?<br>\n33.Tell me the branching strategies you followed for your project?<\/li><li>What is git rebase?<\/li><li>What is git stash?<\/li><li>What is the difference between git pull and git fetch?<\/li><li>Differnce between git and svn?<\/li><li>Advantages of git compare with svn?<\/li><li>Explain about staging area in git?<\/li><li>How do you check after git merge \u2026where merging is correctly or not?<\/li><li>How to create branch and delete a branch?<\/li><li>Do you get any conflicts while merging..how can u resolve conflicts?<\/li><li>How can u implement authentication and authorization in git?<\/li><li>What is the difference between git rebase and git merge?<\/li><li>How to merge the code?<\/li><li>Pull request in git hub &#8211; &#8212;git pull<\/li><li>Forking a repository in git hub?<\/li><li>Diff between svn and git &#8212;svn is centralized version control and git is Distributed Version Control.? <\/li><li>What is forking in git repositories?<\/li><li>explain about soft and hard reset and their difference?<\/li><li>What kind of branching and merging you worked on GIT.<\/li><li>with this kind of environment and the git release branching, does it work in Agile methodology?<\/li><li>What is tagging in GIT and what is the diff between feature branching and tagging?<\/li><li>How can you restrict a user to push the code to the repository only if the code does not meet the quality ?<\/li><li>When will you perform Git rebase and git revert and git Merge ? Why?<\/li><\/ol>\n\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_33134\"><figure class=\"wp-block-embed wp-block-embed-youtube is-type-video is-provider-youtube epyt-figure\"><div class=\"wp-block-embed__wrapper\"><iframe loading=\"lazy\"  id=\"_ytid_61171\"  width=\"760\" height=\"427\"  data-origwidth=\"760\" data-origheight=\"427\" src=\"https:\/\/www.youtube.com\/embed\/?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  no-lazyload\" title=\"YouTube player\"  data-epytgalleryid=\"epyt_gallery_33134\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><\/div><\/figure><div class=\"epyt-gallery-list\"><div>Sorry, there was a YouTube error.<\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>What is the function of \u2018git rm\u2019? What is the function of \u2018git checkout\u2019 in git? What is the use of \u2018git log\u2019? Explain what is commit&#8230; <\/p>\n","protected":false},"author":1,"featured_media":7817,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[38],"tags":[],"class_list":["post-6917","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-git"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6917","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=6917"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6917\/revisions"}],"predecessor-version":[{"id":25391,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6917\/revisions\/25391"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/7817"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=6917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=6917"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=6917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}