{"id":6915,"date":"2019-10-07T10:46:32","date_gmt":"2019-10-07T10:46:32","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=6915"},"modified":"2021-11-16T06:48:52","modified_gmt":"2021-11-16T06:48:52","slug":"git-interview-questions-and-answer-part-4","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/git-interview-questions-and-answer-part-4\/","title":{"rendered":"Git Interview Questions and Answer Part &#8211; 4"},"content":{"rendered":"\n<ol class=\"wp-block-list\"><li>What is Version control system or Source code manager?<\/li><li>Benefits of VCS or SCM?<\/li><li>What is Git and What is a repository in GIT?<\/li><li>Diffrence between Git and SVN?<\/li><li>Two types of git authentication?<\/li><li>Branches in Git and its purpose?<br>\nWhat is the common branching pattern in GIT?<\/li><li>What is Pull requests?<\/li><li>How to install git in Linux &amp; Windows?<\/li><li>How to setup repository though command line?<\/li><li>How to setup repository in github and clone it?<\/li><li>What is git clone command used for?<\/li><li>What is git config command user for?<\/li><li>Git config data is stored in what location?<\/li><li>Git config global and local files?<\/li><li>Content of git config file?<\/li><li>Git add command\u2019s purpose?<\/li><li>How to remove\/rename files in local git repo?<\/li><li>git commit command\u2019s purpose?<\/li><li>How to sync local git repo data with github?<\/li><li>git fetch?<\/li><li>git merge?<\/li><li>git pull?<\/li><li>How to change branches in local git repo?<\/li><li>What is the difference between \u2018git remote\u2019 and \u2018git clone\u2019?<\/li><li>git status?<\/li><\/ol>\n\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_14918\"><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_46980\"  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_14918\"  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 Version control system or Source code manager? Benefits of VCS or SCM? What is Git and What is a repository in GIT? Diffrence between Git&#8230; <\/p>\n","protected":false},"author":1,"featured_media":7818,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[38],"tags":[],"class_list":["post-6915","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\/6915","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=6915"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6915\/revisions"}],"predecessor-version":[{"id":25392,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6915\/revisions\/25392"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/7818"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=6915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=6915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=6915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}